{ lib, ... }: { options.homelab.host = { tier = lib.mkOption { type = lib.types.enum [ "test" "prod" ]; default = "prod"; description = "Deployment tier - controls which credentials can deploy to this host"; }; priority = lib.mkOption { type = lib.types.enum [ "high" "low" ]; default = "high"; description = "Alerting priority - low priority hosts have relaxed thresholds"; }; role = lib.mkOption { type = lib.types.nullOr lib.types.str; default = null; description = "Primary role of this host (dns, database, monitoring, etc.)"; }; labels = lib.mkOption { type = lib.types.attrsOf lib.types.str; default = { }; description = "Additional free-form labels (e.g., dns_role = 'primary')"; }; }; }