diff --git a/willem/services/acme.nix b/willem/services/acme.nix index 597e1f6..2f9dffc 100644 --- a/willem/services/acme.nix +++ b/willem/services/acme.nix @@ -4,6 +4,7 @@ "git.vatthauer.xyz".email = "leonvatthauer@outlook.com"; "bitwarden.vatthauer.xyz".email = "leonvatthauer@outlook.com"; "video.vatthauer.xyz".email = "leonvatthauer@outlook.com"; + "files.vatthauer.xyz".email = "leonvatthauer@outlook.com"; "vatthauer.xyz".email = "leonvatthauer@outlook.com"; }; } diff --git a/willem/services/nginx.nix b/willem/services/nginx.nix index 2329123..66a0bbe 100644 --- a/willem/services/nginx.nix +++ b/willem/services/nginx.nix @@ -36,4 +36,9 @@ enableACME = true; root = pkgs.callPackage ./resumee-website.nix {}; }; + services.nginx.virtualHosts."files.vatthauer.xyz" = { + forceSSL = true; + enableACME = true; + root = "/var/www"; + }; } diff --git a/willem/services/resumee-website.nix b/willem/services/resumee-website.nix index a71ce55..d898fef 100644 --- a/willem/services/resumee-website.nix +++ b/willem/services/resumee-website.nix @@ -4,13 +4,12 @@ stdenv.mkDerivation { version = "1.0"; src = builtins.fetchGit { url = "https://git.vatthauer.xyz/leonv/resumee-website.git"; - rev = "9516643a88018050676dd1f57f5cc7e245e55591"; + rev = "5cd0f5bb30da8d7297a15be3704e4d9efc73d8b4"; }; nativeBuildInputs = [ git go hugo ]; buildPhase = "hugo -d $out"; outputHashAlgo = "sha256"; outputHashMode = "recursive"; - outputHash = "sha256-icJv4zvaioxj9Ego0rDIFSm1PXRhAMsxmtYJj0H0+8Y="; - + outputHash = "sha256-PQzuhxRrruBbEfUjhPGPeJkJ6vsbMJ+5Ojg4t11oNV8="; }