move wireshark to mudule and correct permitions
This commit is contained in:
parent
91240b2a50
commit
6624ebeff3
@ -20,6 +20,7 @@
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"adbusers"
|
||||
"wireshark"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@ -50,6 +50,7 @@ in
|
||||
desmume.enable = true;
|
||||
ghidra.enable = true;
|
||||
firejail.enable = true;
|
||||
wireshark.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -46,6 +46,7 @@ in
|
||||
alacritty.enable = true;
|
||||
chromium.enable = true;
|
||||
firejail.enable = true;
|
||||
wireshark.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -2,5 +2,6 @@
|
||||
{
|
||||
imports = [
|
||||
./openssh.nix
|
||||
./wireshark.nix
|
||||
];
|
||||
}
|
||||
|
||||
16
modules/nix/networking/wireshark.nix
Normal file
16
modules/nix/networking/wireshark.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@ -20,7 +20,6 @@ in
|
||||
baobab
|
||||
loupe
|
||||
gimp3
|
||||
wireshark
|
||||
audacity
|
||||
networkmanagerapplet
|
||||
gparted
|
||||
|
||||
Loading…
Reference in New Issue
Block a user