From 334db00fa1026540be8e2d9186966638bf7bbc42 Mon Sep 17 00:00:00 2001 From: Yureka Date: Wed, 27 May 2026 16:16:46 +0200 Subject: [PATCH] nixos/fastnetmon: always define global hostgroup Fixes nixosTests.fastnetmon-advanced with fastnetmon-advanced 2.0.376+ --- nixos/modules/services/networking/fastnetmon-advanced.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/networking/fastnetmon-advanced.nix b/nixos/modules/services/networking/fastnetmon-advanced.nix index 87ed120291f9..5ed87d18c1d8 100644 --- a/nixos/modules/services/networking/fastnetmon-advanced.nix +++ b/nixos/modules/services/networking/fastnetmon-advanced.nix @@ -207,6 +207,10 @@ in AmbientCapabilities = "cap_net_bind_service"; }; }; + + services.fastnetmon-advanced.hostgroups = { + global = { }; + }; }) (lib.mkIf (cfg.enable && cfg.enableAdvancedTrafficPersistence) {