Trying some crazy shit rn oh god
parent
951c7f64a2
commit
3815adabbf
|
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue