nixos/os-release: make default_hostname distroId

This commit is contained in:
Juanjo Presa 2024-11-28 13:25:47 +01:00
parent cee3b71531
commit 5a6ea278da

View File

@ -41,7 +41,7 @@ let
IMAGE_VERSION = optionalString (config.system.image.version != null) config.system.image.version; IMAGE_VERSION = optionalString (config.system.image.version != null) config.system.image.version;
VARIANT = optionalString (cfg.variantName != null) cfg.variantName; VARIANT = optionalString (cfg.variantName != null) cfg.variantName;
VARIANT_ID = optionalString (cfg.variant_id != null) cfg.variant_id; VARIANT_ID = optionalString (cfg.variant_id != null) cfg.variant_id;
DEFAULT_HOSTNAME = config.networking.fqdnOrHostName; DEFAULT_HOSTNAME = config.system.nixos.distroId;
SUPPORT_END = "2025-06-30"; SUPPORT_END = "2025-06-30";
}; };