From f28ec6afc426985c680e6737597944e51616a093 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 3 Dec 2026 02:26:41 +0000 Subject: configs: enable hrm.nftables everywhere Hosts still configured by tv.iptables keep their rules: the adapter translates them. --- configs/default.nix | 1 + systems/dule/config.nix | 2 -- systems/fu/config.nix | 2 -- systems/hu/config.nix | 2 -- systems/leg/config.nix | 2 -- systems/ne/config.nix | 1 - systems/qi/config.nix | 2 -- systems/zoppo/config.nix | 2 -- systems/zu/config.nix | 2 -- 9 files changed, 1 insertion(+), 15 deletions(-) diff --git a/configs/default.nix b/configs/default.nix index c2334157..6eca1049 100644 --- a/configs/default.nix +++ b/configs/default.nix @@ -106,6 +106,7 @@ } { + hrm.nftables.enable = true; tv.iptables.enable = true; tv.iptables.accept-echo-request = "internet"; } diff --git a/systems/dule/config.nix b/systems/dule/config.nix index fc12e172..8b205ec6 100644 --- a/systems/dule/config.nix +++ b/systems/dule/config.nix @@ -68,8 +68,6 @@ options = ["defaults" "noatime"]; }; - hrm.nftables.enable = true; - krebs.build.host = config.krebs.hosts.dule; system.stateVersion = "23.05"; diff --git a/systems/fu/config.nix b/systems/fu/config.nix index 8aaa9009..7940fe4d 100644 --- a/systems/fu/config.nix +++ b/systems/fu/config.nix @@ -41,8 +41,6 @@ options = ["defaults" "noatime" "compress=zstd"]; }; - hrm.nftables.enable = true; - users.groups.plugdev = {}; # https://github.com/NixOS/nixpkgs/pull/272506 krebs.build.host = config.krebs.hosts.fu; diff --git a/systems/hu/config.nix b/systems/hu/config.nix index 655b337d..b2e487f8 100644 --- a/systems/hu/config.nix +++ b/systems/hu/config.nix @@ -29,8 +29,6 @@ boot.loader.grub.splashImage = null; boot.loader.grub.device = "/dev/sda"; - hrm.nftables.enable = true; - krebs.build.host = config.krebs.hosts.hu; krebs.shadow.overridesFile = "${config.krebs.secret.directory}/shadow-overrides"; diff --git a/systems/leg/config.nix b/systems/leg/config.nix index 0c6b2818..86709b0d 100644 --- a/systems/leg/config.nix +++ b/systems/leg/config.nix @@ -91,8 +91,6 @@ boot.kernelPackages = pkgs.linuxPackages_latest; - hrm.nftables.enable = true; - krebs.build.host = config.krebs.hosts.leg; system.stateVersion = "23.11"; diff --git a/systems/ne/config.nix b/systems/ne/config.nix index 38dab010..b78b65a9 100644 --- a/systems/ne/config.nix +++ b/systems/ne/config.nix @@ -57,7 +57,6 @@ }) ({ config, ... }: { - hrm.nftables.enable = true; krebs.build.host = config.krebs.hosts.ne; }) diff --git a/systems/qi/config.nix b/systems/qi/config.nix index 1d4b1276..2508f069 100644 --- a/systems/qi/config.nix +++ b/systems/qi/config.nix @@ -176,8 +176,6 @@ hardware.sensor.iio.enable = true; - hrm.nftables.enable = true; - security.polkit.extraConfig = '' polkit.addRule(function(action, subject) { if ((action.id.indexOf("org.freedesktop.login1.suspend") == 0 diff --git a/systems/zoppo/config.nix b/systems/zoppo/config.nix index f614f57e..966dfb98 100644 --- a/systems/zoppo/config.nix +++ b/systems/zoppo/config.nix @@ -48,8 +48,6 @@ networking.wireless.enable = false; - hrm.nftables.enable = true; - krebs.build.host = config.krebs.hosts.zoppo; system.stateVersion = "23.05"; diff --git a/systems/zu/config.nix b/systems/zu/config.nix index 139a3992..b75d0020 100644 --- a/systems/zu/config.nix +++ b/systems/zu/config.nix @@ -52,8 +52,6 @@ hrm.network.interfaces.eth0.medium = "ethernet"; - hrm.nftables.enable = true; - networking.interfaces.eth0.useDHCP = true; networking.interfaces.wlan0.useDHCP = true; networking.usePredictableInterfaceNames = false; -- cgit v1.3.1 [cgit] Unable to lock slot /tmp/cgit/9d100000.lock: Permission denied (13)