diff options
Diffstat (limited to 'nixos/home.nix')
| -rw-r--r-- | nixos/home.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/home.nix b/nixos/home.nix index 44d190d..54aab75 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -1,5 +1,6 @@ { config, pkgs, username, terminalworkspace, opt, ... }: { + users.groups.wireshark = {}; users.users.${username} = { isNormalUser = true; description = "User"; @@ -7,6 +8,13 @@ packages = with pkgs; []; shell = pkgs.fish; }; + security.wrappers.dumpcap = { + source = "${pkgs.wireshark-cli}/bin/dumpcap"; + capabilities = "cap_net_raw,cap_net_admin+eip"; + owner = "root"; + group = "wireshark"; + permissions = "0750"; + }; virtualisation.docker.enable = true; programs.fish = { enable = true; |
