wireshark: Force evaluation error when group doesn't exist

This commit is contained in:
SebastianStork 2025-10-27 21:50:54 +01:00
parent b94d47b5ab
commit f4255165b1
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q

View file

@ -10,6 +10,6 @@
config = lib.mkIf config.custom.programs.wireshark.enable { config = lib.mkIf config.custom.programs.wireshark.enable {
programs.wireshark.enable = true; programs.wireshark.enable = true;
environment.systemPackages = [ pkgs.wireshark ]; environment.systemPackages = [ pkgs.wireshark ];
users.users.seb.extraGroups = [ "wireshark" ]; users.users.seb.extraGroups = [ config.users.groups.wireshark.name ];
}; };
} }