1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-07 22:33:53 +00:00
ultima/modules/nixos/misc/minimal/default.nix
2024-11-21 18:24:15 +09:00

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