mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-07 22:33:53 +00:00
21 lines
455 B
Nix
21 lines
455 B
Nix
{ lib, config, False, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.misc.minimal;
|
|
in {
|
|
options = { module.misc.minimal = { enable = mkEnableOption ""; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.command-not-found = mkDefault False;
|
|
documentation = False // { # DISABLE MAN AND GUIDES
|
|
dev = mkDefault False;
|
|
doc = mkDefault False;
|
|
info = mkDefault False;
|
|
man = mkDefault False;
|
|
nixos = mkDefault False;
|
|
};
|
|
};
|
|
}
|
|
|