move wireshark to mudule and correct permitions
This commit is contained in:
@@ -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
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user