diff options
Diffstat (limited to 'configs')
| -rw-r--r-- | configs/retiolum.nix | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/configs/retiolum.nix b/configs/retiolum.nix deleted file mode 100644 index f454c312..00000000 --- a/configs/retiolum.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ config, lib, mylib, pkgs, ... }: { - krebs.tinc.retiolum = { - enable = true; - connectTo = builtins.filter (mylib.ne config.krebs.build.host.name) [ - "ne" - "neoprism" - "eve" - ]; - extraConfig = '' - LocalDiscovery = yes - ''; - tincPackage = pkgs.tinc_pre; - tincUp = lib.mkIf config.systemd.network.enable ""; - }; - systemd.network.networks.retiolum = { - matchConfig.Name = "retiolum"; - address = let - inherit (config.krebs.build.host.nets.retiolum) ip4 ip6; - in [ - "${ip4.addr}/${toString ip4.prefixLength}" - "${ip6.addr}/${toString ip6.prefixLength}" - ]; - }; - tv.iptables.input-internet-accept-tcp = [ "tinc" ]; - tv.iptables.input-internet-accept-udp = [ "tinc" ]; -} |
