common: fix global wireshark permissions

This commit is contained in:
2024-12-02 12:07:39 +01:00
parent f9d175fc43
commit 5f8001dc86
3 changed files with 11 additions and 1 deletions

View File

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