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