moved gabevenberg.com to cirrus.
This commit is contained in:
parent
210bf5c415
commit
fb61db7011
4 changed files with 9 additions and 6 deletions
|
@ -13,7 +13,6 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
inputs.disko.nixosModules.disko
|
||||
./disk-config.nix
|
||||
./hardware-configuration.nix
|
||||
./nginx.nix
|
||||
./restic.nix
|
||||
../../configs/nixos/common.nix
|
||||
../../configs/nixos/tailscale.nix
|
||||
|
@ -62,11 +61,6 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
sops = lib.mkIf (inputs ? nix-secrets) {
|
||||
secrets = {
|
||||
duckdns-token.sopsFile = "${inputs.nix-secrets}/duckdns.yaml";
|
||||
gabevenberg-draft-credentials = {
|
||||
sopsFile = "${inputs.nix-secrets}/draft.gabevenberg.com";
|
||||
format = "binary";
|
||||
owner = config.services.nginx.user;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../configs/nixos/nginx.nix
|
||||
];
|
||||
services.nginx.clientMaxBodySize = "100m";
|
||||
services.nginx.virtualHosts = {
|
||||
"gabevenberg.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/var/www/gabevenberg.com";
|
||||
};
|
||||
"draft.gabevenberg.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/var/www/draft.gabevenberg.com";
|
||||
basicAuthFile = config.sops.secrets.gabevenberg-draft-credentials.path;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue