Back to the beginnign

Main
Johannes Hendrik Gerard van der Weide 2024-03-14 11:51:21 +01:00
parent 703c590dc6
commit 5294a2030b
2 changed files with 3 additions and 4 deletions

View File

@ -4,6 +4,6 @@
services.nginx.virtualHosts."blog.hermitcollective.net" = { services.nginx.virtualHosts."blog.hermitcollective.net" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
root = "/var/www/blog.hermitcollective.net"; root = pkgs.callPackage ./package {};
}; };
} }

View File

@ -8,8 +8,7 @@ stdenv.mkDerivation {
hugo hugo
''; '';
installPhase = '' installPhase = ''
mkdir -p /var/www/blog.hermitcollective.net mkdir -p $out
cp -r public/* /var/www/blog.hermitcollective.net cp -r public/* $out/
chown nginx: /var/www/blog.hermitcollective.net
''; '';
} }