common: fix global wireshark permissions
This commit is contained in:
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user