clean wireshark
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
{
|
||||
imports = [
|
||||
./openssh.nix
|
||||
./wireshark.nix
|
||||
./mail.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user