Compare commits
2 commits
2eb4b0f1bc
...
dde5d3a0b3
Author | SHA1 | Date | |
---|---|---|---|
dde5d3a0b3 | |||
043e34ff3d |
4 changed files with 20 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -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
|
||||
|
|
|
@ -30,4 +30,9 @@
|
|||
proxyPass = "http://localhost:8096";
|
||||
};
|
||||
};
|
||||
services.nginx.virtualHosts."blog.korfuri.fr" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = callPackage ./resumee-website.nix {};
|
||||
};
|
||||
}
|
||||
|
|
1
willem/services/resumee-website
Submodule
1
willem/services/resumee-website
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit da26393e34ba9178a5b55737f7616aa8be25b5b3
|
11
willem/services/resumee-website.nix
Normal file
11
willem/services/resumee-website.nix
Normal 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"
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in a new issue