summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/default.nix
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-12-12 13:22:20 +0100
committerlassulus <git@lassul.us>2023-12-12 13:22:20 +0100
commit75374a27f903538601a124e1b99c53815bb6c4a6 (patch)
treebc08e37620e7d7792d41fd5a06f0118d94f9b2ed /krebs/2configs/default.nix
parent316e8431c2723e258f9939dfe182f6ce3e7b0b89 (diff)
default: add more retiolum options
Diffstat (limited to 'krebs/2configs/default.nix')
-rw-r--r--krebs/2configs/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/krebs/2configs/default.nix b/krebs/2configs/default.nix
index dc02f54ae..5d64555c8 100644
--- a/krebs/2configs/default.nix
+++ b/krebs/2configs/default.nix
@@ -8,7 +8,15 @@ with import ../../lib/pure.nix { inherit lib; };
];
krebs.announce-activation.enable = true;
krebs.enable = true;
- krebs.tinc.retiolum.enable = mkDefault true;
+
+ # retiolum
+ krebs.tinc.retiolum = {
+ enable = mkDefault true;
+ extraConfig = ''
+ AutoConnect = yes
+ LocalDiscovery = yes
+ '';
+ };
networking.firewall.allowedTCPPorts = [ 655 ];
networking.firewall.allowedUDPPorts = [ 655 ];