1
1
Fork 0

Compare commits

...

2 commits

Author SHA1 Message Date
a79143bac4
laptop: enable building while offline
Signed-off-by: Myned <dev@bjork.tech>
2024-09-09 17:24:21 -05:00
f967bbf482
wireshark: initial program
Signed-off-by: Myned <dev@bjork.tech>
2024-09-09 17:23:50 -05:00
3 changed files with 22 additions and 0 deletions

View file

@ -71,6 +71,7 @@ with lib;
tio.enable = true;
vscode.enable = true;
waybar.enable = true;
wireshark.enable = true;
wofi.enable = true;
#// wpaperd.enable = true;
})

View 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" ];
};
}

View file

@ -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;
}