1
1
Fork 0

wireshark: initial program

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-09-09 17:23:50 -05:00
parent e78677ad34
commit 6898d99268
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 18 additions and 0 deletions

View file

@ -71,6 +71,7 @@ with lib;
tio.enable = true;
vscode.enable = true;
waybar.enable = true;
wireshark.enable = true;
wofi.enable = true;
#// wpaperd.enable = true;
})

View file

@ -0,0 +1,17 @@
{ config, lib, ... }:
with lib;
let
cfg = config.custom.programs.wireshark;
in
{
options.custom.programs.wireshark.enable = mkOption { default = false; };
config = mkIf cfg.enable {
# https://gitlab.com/wireshark/wireshark
programs.wireshark.enable = true;
users.users.${config.custom.username}.extraGroups = [ "wireshark" ];
};
}