lib.validators
lib.validators:
Section titled “lib.validators:”lib.validators.anyHome
Section titled “lib.validators.anyHome”check if a predicate for any user config is true
Arguments
Section titled “Arguments”- [conf] the configuration that nixosConfigurations provides
- [cond] predicate function to check against config variable
anyHome :: AttrSet -> (Any -> Bool) -> BoolExample
Section titled “Example”anyHome config (cfg: cfg.programs.hyprland.enable)=> true