Add resumee-website

This commit is contained in:
Leon Vatthauer 2024-04-06 16:44:54 +02:00
parent 61cec49a5e
commit 043e34ff3d
Signed by: leonv
SSH key fingerprint: SHA256:G4+ddwoZmhLPRB1agvXzZMXIzkVJ36dUYZXf5NxT+u8
4 changed files with 20 additions and 0 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule "nix-secrets"]
path = nix-secrets
url = gitea@git.vatthauer.xyz:leonv/nix-secrets.git
[submodule "willem/services/resumee-website"]
path = willem/services/resumee-website
url = forgejo@git.vatthauer.xyz:leonv/resumee-website.git

View file

@ -30,4 +30,9 @@
proxyPass = "http://localhost:8096";
};
};
services.nginx.virtualHosts."blog.korfuri.fr" = {
forceSSL = true;
enableACME = true;
root = callPackage ./resumee-website.nix {};
};
}

@ -0,0 +1 @@
Subproject commit da26393e34ba9178a5b55737f7616aa8be25b5b3

View file

@ -0,0 +1,11 @@
{ stdenv, hugo }:
stdenv.mkDerivation {
name = "resumee-website";
src = ./resumee-website;
nativeBuildInputs = [ hugo ];
phases = [ "unpackPhase" "buildPhase" ];
buildPhase = ''
hugo -s . -d "$out"
'';
}