Back to the beginnign
parent
703c590dc6
commit
5294a2030b
|
@ -4,6 +4,6 @@
|
|||
services.nginx.virtualHosts."blog.hermitcollective.net" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = "/var/www/blog.hermitcollective.net";
|
||||
root = pkgs.callPackage ./package {};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,8 +8,7 @@ stdenv.mkDerivation {
|
|||
hugo
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p /var/www/blog.hermitcollective.net
|
||||
cp -r public/* /var/www/blog.hermitcollective.net
|
||||
chown nginx: /var/www/blog.hermitcollective.net
|
||||
mkdir -p $out
|
||||
cp -r public/* $out/
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue