nixos/version: make versions in /etc/os-release less verbose

Fixes #127654; also see details in there.
This commit is contained in:
Pavol Rusnak 2021-07-29 16:12:23 +02:00 committed by Vladimír Čunát
parent 9978f777fc
commit d2e468a571
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -103,9 +103,10 @@ in
''
NAME=NixOS
ID=nixos
VERSION="${cfg.version} (${cfg.codeName})"
VERSION="${cfg.release} (${cfg.codeName})"
VERSION_CODENAME=${toLower cfg.codeName}
VERSION_ID="${cfg.version}"
VERSION_ID="${cfg.release}"
BUILD_ID="${cfg.version}"
PRETTY_NAME="NixOS ${cfg.release} (${cfg.codeName})"
LOGO="nix-snowflake"
HOME_URL="https://nixos.org/"