Back to the beginnign
parent
703c590dc6
commit
5294a2030b
|
@ -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 {};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue