1 tv cd: serve viljetic-pages

This commit is contained in:
tv 2015-07-19 17:15:50 +02:00
parent 41051d61fa
commit 5600bb8be2

View File

@ -2,6 +2,10 @@
with lib;
let
Zpkgs = import ../../Zpkgs/tv { inherit pkgs; };
in
{
imports = [
../../2configs/tv/CAC-Developer-2.nix
@ -68,6 +72,15 @@ with lib;
'');
};
}
{
tv.nginx.servers.viljetic = {
server-names = singleton "viljetic.de";
# TODO directly set root (instead via location)
locations = singleton (nameValuePair "/" ''
root ${Zpkgs.viljetic-pages};
'');
};
}
{
imports = [ ../../3modules/tv/retiolum.nix ];
tv.retiolum = {