1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-08 19:13:52 +00:00
ultima/modules/nixos/misc/minimal/default.nix

21 lines
455 B
Nix
Raw Normal View History

2024-11-21 09:24:15 +00:00
{ 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;
};
};
}