Skip to content

Commit bf5d64a

Browse files
authored
nixos/os-release: make default_hostname distribution default (#359571)
2 parents c32996b + 5a6ea27 commit bf5d64a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/modules/misc/version.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ let
4141
IMAGE_VERSION = optionalString (config.system.image.version != null) config.system.image.version;
4242
VARIANT = optionalString (cfg.variantName != null) cfg.variantName;
4343
VARIANT_ID = optionalString (cfg.variant_id != null) cfg.variant_id;
44-
DEFAULT_HOSTNAME = config.networking.fqdnOrHostName;
44+
DEFAULT_HOSTNAME = config.system.nixos.distroId;
4545
SUPPORT_END = "2025-06-30";
4646
};
4747

0 commit comments

Comments
 (0)