first commit
This commit is contained in:
13
modules/wireshark.nix
Normal file
13
modules/wireshark.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
users.groups.wireshark = { };
|
||||
security.wrappers.dumpcap = {
|
||||
source = "${pkgs.wireshark}/bin/dumpcap";
|
||||
permissions = "u+xs,g+x";
|
||||
owner = "root";
|
||||
group = "wireshark";
|
||||
};
|
||||
|
||||
users.users.dwessels.extraGroups = [ "wireshark" ];
|
||||
environment.systemPackages = [ pkgs.wireshark ];
|
||||
}
|
||||
Reference in New Issue
Block a user