common: fix global wireshark permissions

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-02 12:07:39 +01:00
parent f9d175fc43
commit 5f8001dc86
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
3 changed files with 11 additions and 1 deletions

View File

@ -120,7 +120,6 @@
tenacity
# transcribe
wireshark
xcalib
xclip
xdotool

View File

@ -11,6 +11,7 @@ in {
./programs/nix-ld.nix
./programs/ssh.nix
./programs/usbtop.nix
./programs/wireshark.nix
./services/dbus.nix
./services/journald.nix

View File

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
let
inherit (config) machineVars;
in
{
programs.wireshark = {
enable = !config.machineVars.headless;
package = pkgs.wireshark;
};
}