Trying some crazy shit rn oh god
parent
951c7f64a2
commit
3815adabbf
|
@ -4,6 +4,6 @@
|
|||
services.nginx.virtualHosts."blog.hermitcollective.net" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = pkgs.callPackage ./package.nix {};
|
||||
root = "/var/www/blog.hermitcollective.net";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
|||
hugo
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r public/* $out/
|
||||
mkdir -p /var/www/blog.hermitcollective.net
|
||||
cp -r public/* /var/www/blog.hermitcollective.net
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue