move wireshark to mudule and correct permitions
All checks were successful
nixos config pipeline / show-flake (push) Successful in 34s
nixos config pipeline / deploy (push) Successful in 26s

This commit is contained in:
smayzy 2025-08-14 12:09:11 +02:00
parent 91240b2a50
commit 6624ebeff3
6 changed files with 20 additions and 1 deletions

View File

@ -20,6 +20,7 @@
"networkmanager" "networkmanager"
"wheel" "wheel"
"adbusers" "adbusers"
"wireshark"
]; ];
}; };

View File

@ -50,6 +50,7 @@ in
desmume.enable = true; desmume.enable = true;
ghidra.enable = true; ghidra.enable = true;
firejail.enable = true; firejail.enable = true;
wireshark.enable = true;
}; };
}; };
} }

View File

@ -46,6 +46,7 @@ in
alacritty.enable = true; alacritty.enable = true;
chromium.enable = true; chromium.enable = true;
firejail.enable = true; firejail.enable = true;
wireshark.enable = true;
}; };
}; };
} }

View File

@ -2,5 +2,6 @@
{ {
imports = [ imports = [
./openssh.nix ./openssh.nix
./wireshark.nix
]; ];
} }

View File

@ -0,0 +1,16 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.wireshark.enable = mkOption {
type = types.bool;
default = false;
description = "wireshark";
};
config = mkIf config.smayzy.wireshark.enable {
programs.wireshark.enable = true;
environment.systemPackages = with pkgs; [ wireshark ];
};
}

View File

@ -20,7 +20,6 @@ in
baobab baobab
loupe loupe
gimp3 gimp3
wireshark
audacity audacity
networkmanagerapplet networkmanagerapplet
gparted gparted