mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-08 17:23:53 +00:00
32 lines
444 B
Nix
32 lines
444 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;
|
|
};
|
|
};
|
|
}
|