summaryrefslogtreecommitdiffstats
path: root/1systems/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-18 12:17:03 +0200
committertv <tv@krebsco.de>2015-07-18 12:28:41 +0200
commit66ac57fa781d2375ede14aa1b7ac41c17550e3d3 (patch)
tree197457cd533e477b6ff276b4602d3845f7d43723 /1systems/tv
parent0ff093cc6ca15b27d1b96baa0d46ec1e7baf1a8c (diff)
1 tv cd: make cgit available on the Internet
Diffstat (limited to '1systems/tv')
-rw-r--r--1systems/tv/cd.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/1systems/tv/cd.nix b/1systems/tv/cd.nix
index e2ce9bb..1252f16 100644
--- a/1systems/tv/cd.nix
+++ b/1systems/tv/cd.nix
@@ -41,6 +41,14 @@ with lib;
};
}
{
+ imports = [
+ ../../3modules/tv/iptables.nix
+ ../../3modules/tv/nginx.nix
+ ];
+ tv.iptables.input-internet-accept-new-tcp = singleton "http";
+ tv.nginx.servers.cgit.server-names = singleton "cgit.cd.viljetic.de";
+ }
+ {
imports = [ ../../3modules/tv/retiolum.nix ];
tv.retiolum = {
enable = true;