Added files subdomain, update resumee

This commit is contained in:
leonv@willem 2024-04-15 14:24:16 +02:00
parent 0566bb0001
commit b7dcb8639b
3 changed files with 8 additions and 3 deletions

View file

@ -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";
};
}

View file

@ -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";
};
}

View file

@ -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=";
}