From 060a8f28fa1fc648bdf66afb31a5d1efac868837 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 28 Jul 2023 22:24:15 +0200 Subject: makefu: move out to own repo, add vacation-note --- makefu/2configs/tinc/retiolum.nix | 17 ----------------- makefu/2configs/tinc/siem.nix | 12 ------------ 2 files changed, 29 deletions(-) delete mode 100644 makefu/2configs/tinc/retiolum.nix delete mode 100644 makefu/2configs/tinc/siem.nix (limited to 'makefu/2configs/tinc') diff --git a/makefu/2configs/tinc/retiolum.nix b/makefu/2configs/tinc/retiolum.nix deleted file mode 100644 index d1cfc2f88..000000000 --- a/makefu/2configs/tinc/retiolum.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs, lib, config, ... }: -{ - imports = [ - ../binary-cache/lass.nix - ]; - krebs.tinc.retiolum.enable = true; - krebs.tinc.retiolum.extraConfig = '' - StrictSubnets = yes - ${lib.optionalString (config.krebs.build.host.nets.retiolum.via != null) '' - LocalDiscovery = no - ''} - ''; - environment.systemPackages = [ pkgs.tinc ]; - networking.firewall.allowedTCPPorts = [ config.krebs.build.host.nets.retiolum.tinc.port ]; - networking.firewall.allowedUDPPorts = [ config.krebs.build.host.nets.retiolum.tinc.port ]; - -} diff --git a/makefu/2configs/tinc/siem.nix b/makefu/2configs/tinc/siem.nix deleted file mode 100644 index 8f17f1a0a..000000000 --- a/makefu/2configs/tinc/siem.nix +++ /dev/null @@ -1,12 +0,0 @@ -{lib, config, ... }: -{ - # TODO do not know why we need to force it, port is only set via default to 655 - krebs.build.host.nets.siem.tinc.port = lib.mkForce 1655; - krebs.dns.providers.siem = "hosts"; - networking.firewall.allowedUDPPorts = [ 1665 ]; - networking.firewall.allowedTCPPorts = [ 1655 ]; - krebs.tinc.siem = { - enable = true; - connectTo = [ "shoney" ]; - }; -} -- cgit v1.2.3