diff options
author | tv <tv@shackspace.de> | 2015-07-18 12:17:03 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-07-18 12:28:41 +0200 |
commit | d819023370fbb182722e9d6819301973b1d42412 (patch) | |
tree | 197457cd533e477b6ff276b4602d3845f7d43723 /1systems | |
parent | 766e7d9ed3155d5be247a152a2438d624c3dd078 (diff) |
1 tv cd: make cgit available on the Internet
Diffstat (limited to '1systems')
-rw-r--r-- | 1systems/tv/cd.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1systems/tv/cd.nix b/1systems/tv/cd.nix index e2ce9bba8..1252f16c4 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; |