Compare commits
2 commits
de8335dcec
...
a79143bac4
Author | SHA1 | Date | |
---|---|---|---|
a79143bac4 | |||
f967bbf482 |
3 changed files with 22 additions and 0 deletions
|
@ -71,6 +71,7 @@ with lib;
|
|||
tio.enable = true;
|
||||
vscode.enable = true;
|
||||
waybar.enable = true;
|
||||
wireshark.enable = true;
|
||||
wofi.enable = true;
|
||||
#// wpaperd.enable = true;
|
||||
})
|
||||
|
|
17
options/custom/programs/wireshark.nix
Normal file
17
options/custom/programs/wireshark.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.custom.programs.wireshark;
|
||||
in
|
||||
{
|
||||
options.custom.programs.wireshark.enable = mkOption { default = false; };
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# https://gitlab.com/wireshark/wireshark
|
||||
programs.wireshark.enable = true;
|
||||
|
||||
users.users.${config.custom.username}.extraGroups = [ "wireshark" ];
|
||||
};
|
||||
}
|
|
@ -4,4 +4,8 @@
|
|||
profile = "desktop"; # Inherit desktop
|
||||
services.auto-cpufreq.enable = true;
|
||||
};
|
||||
|
||||
#!! Rebuild offline - drastically increases initial download and resulting closure size
|
||||
# https://discourse.nixos.org/t/rebuild-nixos-offline/3679
|
||||
system.includeBuildDependencies = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue