diff options
author | tv <tv@krebsco.de> | 2015-07-19 17:15:50 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-07-19 17:15:50 +0200 |
commit | ffd635fe8f965ee23b1db25f1ecc22bf6737e8d9 (patch) | |
tree | 1de761535e9170ca50569f05ba0653f275a7dc10 | |
parent | 4111fcd70a97566e7ef46ff7bf52630c9620c9e8 (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 dda9987..0e45068 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; |