the west has fallen
This commit is contained in:
parent
f1cfce48d3
commit
c94112ba50
4 changed files with 24 additions and 0 deletions
|
@ -73,6 +73,9 @@
|
||||||
mpv.enable = true;
|
mpv.enable = true;
|
||||||
jellyfin.enable = true;
|
jellyfin.enable = true;
|
||||||
};
|
};
|
||||||
|
security = {
|
||||||
|
wireshark.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
hardware = {
|
hardware = {
|
||||||
nvidia = {
|
nvidia = {
|
||||||
|
|
|
@ -28,5 +28,7 @@
|
||||||
# vpn
|
# vpn
|
||||||
./wireguard
|
./wireguard
|
||||||
./printing
|
./printing
|
||||||
|
# securitity
|
||||||
|
./security
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
6
modules/desktop/security/default.nix
Normal file
6
modules/desktop/security/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./wireshark
|
||||||
|
];
|
||||||
|
}
|
13
modules/desktop/security/wireshark/default.nix
Normal file
13
modules/desktop/security/wireshark/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ outputs, options, config, lib, pkgs, ...}:
|
||||||
|
let
|
||||||
|
cfg = config.modules.desktop.security.wireguard;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.modules.desktop.security.wireguard = {
|
||||||
|
enable = lib.mkEnableOption false;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
programs.wireshark.enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue