nixos/os-release: make default_hostname distroId
This commit is contained in:
parent
cee3b71531
commit
5a6ea278da
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user