summaryrefslogtreecommitdiffstats
path: root/1systems
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-12-14 14:18:34 +0100
committermakefu <github@syntax-fehler.de>2015-12-14 14:18:34 +0100
commite959519342ba89e944ef82a63a61b18f24b74409 (patch)
tree594fc5802cf17e0449c69526c9b56fb803332583 /1systems
parent47e2950bbfffbe0c65370261f11a64db69416965 (diff)
m 1 gum: add extra ports to gum retiolum
Diffstat (limited to '1systems')
-rw-r--r--1systems/gum.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/1systems/gum.nix b/1systems/gum.nix
index 75607aa46..417a020fa 100644
--- a/1systems/gum.nix
+++ b/1systems/gum.nix
@@ -14,14 +14,20 @@ in {
# ../2configs/iodined.nix
../2configs/git/cgit-retiolum.nix
../2configs/mattermost-docker.nix
+ ../2configs/nginx/euer.test.nix
];
+ nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; };
###### stable
krebs.build.target = "root@gum.krebsco.de";
krebs.build.host = config.krebs.hosts.gum;
-
+ krebs.retiolum.extraConfig = ''
+ ListenAddress = ${external-ip} 53
+ ListenAddress = ${external-ip} 655
+ ListenAddress = ${external-ip} 21031
+ '';
# Chat
environment.systemPackages = with pkgs;[
@@ -53,10 +59,18 @@ in {
80 443
# tinc
655
+ # tinc-shack
+ 21032
+ # tinc-retiolum
+ 21031
];
allowedUDPPorts = [
# tinc
655 53
+ # tinc-retiolum
+ 21031
+ # tinc-shack
+ 21032
];
};
interfaces.et0.ip4 = [{