Trying some crazy shit rn oh god

Main
Johannes Hendrik Gerard van der Weide 2024-03-14 11:42:14 +01:00
parent 951c7f64a2
commit 3815adabbf
2 changed files with 3 additions and 3 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 = pkgs.callPackage ./package.nix {}; root = "/var/www/blog.hermitcollective.net";
}; };
} }

View File

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