common: fix global wireshark permissions
This commit is contained in:
parent
f9d175fc43
commit
5f8001dc86
@ -120,7 +120,6 @@
|
|||||||
|
|
||||||
tenacity
|
tenacity
|
||||||
# transcribe
|
# transcribe
|
||||||
wireshark
|
|
||||||
xcalib
|
xcalib
|
||||||
xclip
|
xclip
|
||||||
xdotool
|
xdotool
|
||||||
|
@ -11,6 +11,7 @@ in {
|
|||||||
./programs/nix-ld.nix
|
./programs/nix-ld.nix
|
||||||
./programs/ssh.nix
|
./programs/ssh.nix
|
||||||
./programs/usbtop.nix
|
./programs/usbtop.nix
|
||||||
|
./programs/wireshark.nix
|
||||||
|
|
||||||
./services/dbus.nix
|
./services/dbus.nix
|
||||||
./services/journald.nix
|
./services/journald.nix
|
||||||
|
10
hosts/common/programs/wireshark.nix
Normal file
10
hosts/common/programs/wireshark.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
inherit (config) machineVars;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
programs.wireshark = {
|
||||||
|
enable = !config.machineVars.headless;
|
||||||
|
package = pkgs.wireshark;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user