diff options
author | tv <tv@krebsco.de> | 2015-07-18 12:17:03 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-07-18 12:28:41 +0200 |
commit | 66ac57fa781d2375ede14aa1b7ac41c17550e3d3 (patch) | |
tree | 197457cd533e477b6ff276b4602d3845f7d43723 /1systems | |
parent | 0ff093cc6ca15b27d1b96baa0d46ec1e7baf1a8c (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 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; |