diff options
author | tv <tv@shackspace.de> | 2015-07-19 17:15:50 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-07-19 17:15:50 +0200 |
commit | 5600bb8be24fa1a21fcb88d64ccd698606a4dcbb (patch) | |
tree | 1de761535e9170ca50569f05ba0653f275a7dc10 | |
parent | 41051d61fa39f06a2379b52109076c4778b77e32 (diff) |
1 tv cd: serve viljetic-pages
-rw-r--r-- | 1systems/tv/cd.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1systems/tv/cd.nix b/1systems/tv/cd.nix index dda9987c9..0e45068a6 100644 --- a/1systems/tv/cd.nix +++ b/1systems/tv/cd.nix @@ -2,6 +2,10 @@ with lib; +let + Zpkgs = import ../../Zpkgs/tv { inherit pkgs; }; +in + { imports = [ ../../2configs/tv/CAC-Developer-2.nix @@ -69,6 +73,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 = { enable = true; |