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

23 lines
416 B
Nix

{ x, lib, config, ... }:
with lib;
with x;
let
cfg = config.module.misc.minimal;
nahuy = mkDefault False;
in {
options = { module.misc.minimal = { enable = mkBool; }; };
config = mkIf cfg.enable {
programs.command-not-found = nahuy;
documentation = False // { # DISABLE MAN AND GUIDES
dev = nahuy;
doc = nahuy;
info = nahuy;
man = nahuy;
nixos = nahuy;
};
};
}