nixos-config/modules/tools.nix
Simon Bruder c1283b6ffa
Add option to disable large packages
Fixes #27

This adds the `sbruder.full` option (enabled by default), which disables
some otherwise enabled packages/modules when disabled. When setting it
to false on a full gui system it reduces the size of the system closure
by over 50%. It is intended for systems with low (main) disk space.
2021-01-20 16:23:18 +01:00

10 lines
178 B
Nix

{ config, ... }:
{
programs = {
adb.enable = builtins.currentSystem == "x86_64-linux" && config.sbruder.full;
bandwhich.enable = true;
iotop.enable = true;
};
}