From 5600bb8be24fa1a21fcb88d64ccd698606a4dcbb Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 19 Jul 2015 17:15:50 +0200 Subject: 1 tv cd: serve viljetic-pages --- 1systems/tv/cd.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to '1systems/tv') 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 @@ -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 = { -- cgit v1.2.3