summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-19 17:15:50 +0200
committertv <tv@krebsco.de>2015-07-19 17:15:50 +0200
commitffd635fe8f965ee23b1db25f1ecc22bf6737e8d9 (patch)
tree1de761535e9170ca50569f05ba0653f275a7dc10
parent4111fcd70a97566e7ef46ff7bf52630c9620c9e8 (diff)
1 tv cd: serve viljetic-pages
-rw-r--r--1systems/tv/cd.nix13
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;