2024-07-26 23:07:07 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: let
|
2024-04-13 19:15:25 +00:00
|
|
|
inherit (lib) mkIf;
|
|
|
|
deviceType = config.myOptions.device.roles.type;
|
|
|
|
acceptedTypes = ["laptop" "desktop"];
|
|
|
|
in {
|
|
|
|
config = mkIf (builtins.elem deviceType acceptedTypes) {
|
|
|
|
programs = {
|
|
|
|
# allow non-root users to mount fuse filesystems with allow_other
|
|
|
|
fuse.userAllowOther = true;
|
2024-04-13 18:10:01 +00:00
|
|
|
|
2024-04-13 19:15:25 +00:00
|
|
|
# show network usage
|
|
|
|
bandwhich.enable = true;
|
2024-04-13 18:10:01 +00:00
|
|
|
|
2024-04-13 19:15:25 +00:00
|
|
|
# network inspection utility
|
|
|
|
wireshark.enable = true;
|
2024-04-13 18:10:01 +00:00
|
|
|
|
2024-04-13 19:15:25 +00:00
|
|
|
# gnome's keyring manager
|
|
|
|
seahorse.enable = true;
|
2024-06-19 16:26:16 +00:00
|
|
|
|
|
|
|
# registry for linux (thanks to Gnome)
|
|
|
|
dconf.enable = true;
|
2024-04-13 19:15:25 +00:00
|
|
|
};
|
2024-04-13 18:10:01 +00:00
|
|
|
};
|
|
|
|
}
|