summaryrefslogtreecommitdiffstats
path: root/lass/2configs/retiolum.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-09-11 14:55:04 +0200
committertv <tv@krebsco.de>2023-09-11 14:55:04 +0200
commit8fc162ee3d9525a2b45346a1ca8f34ccb5ef971b (patch)
treeaa37724dd0452860d4b9b033332587c8832629e3 /lass/2configs/retiolum.nix
parent90b1515dcd5b67a85cd92901fb211764b1fa5f83 (diff)
parent083229d0211096daec08673f743ccc45b1d8a0ac (diff)
Merge remote-tracking branch 'orange/master'
Diffstat (limited to 'lass/2configs/retiolum.nix')
-rw-r--r--lass/2configs/retiolum.nix48
1 files changed, 0 insertions, 48 deletions
diff --git a/lass/2configs/retiolum.nix b/lass/2configs/retiolum.nix
deleted file mode 100644
index 746bc069d..000000000
--- a/lass/2configs/retiolum.nix
+++ /dev/null
@@ -1,48 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-{
-
- krebs.iptables = {
- tables = {
- filter.INPUT.rules = let
- tincport = toString config.krebs.build.host.nets.retiolum.tinc.port;
- in [
- { predicate = "-p tcp --dport ${tincport}"; target = "ACCEPT"; }
- { predicate = "-p udp --dport ${tincport}"; target = "ACCEPT"; }
- ];
- };
- };
-
- krebs.tinc.retiolum = {
- enable = true;
- connectTo = [
- "prism"
- "ni"
- "eve"
- ];
- extraConfig = ''
- AutoConnect = no
- StrictSubnets = yes
- ${lib.optionalString (config.krebs.build.host.nets.retiolum.via != null) ''
- LocalDiscovery = no
- ''}
- '';
- tincUp = lib.mkIf config.systemd.network.enable "";
- };
-
- systemd.network.networks.retiolum = {
- matchConfig.Name = "retiolum";
- address = [
- "${config.krebs.build.host.nets.retiolum.ip4.addr}/16"
- "${config.krebs.build.host.nets.retiolum.ip6.addr}/16"
- ];
- };
-
- nixpkgs.config.packageOverrides = pkgs: {
- tinc = pkgs.tinc_pre;
- };
-
- environment.systemPackages = [
- pkgs.tinc
- ];
-}
[cgit] Unable to lock slot /tmp/cgit/e7100000.lock: No such file or directory (2)