mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-24 18:43:52 +00:00
23 lines
416 B
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;
|
|
};
|
|
};
|
|
}
|
|
|