nixos/version: PRETTY_NAME in /etc/os-release uses the release now instead of full version

to be more suitable for presentation to the user
This commit is contained in:
davidak
2019-12-02 20:04:44 +01:00
parent 9fe1b95c3d
commit 0ba3761ba8
2 changed files with 8 additions and 1 deletions

View File

@@ -92,7 +92,7 @@ in
VERSION="${cfg.version} (${cfg.codeName})"
VERSION_CODENAME=${toLower cfg.codeName}
VERSION_ID="${cfg.version}"
PRETTY_NAME="NixOS ${cfg.version} (${cfg.codeName})"
PRETTY_NAME="NixOS ${cfg.release} (${cfg.codeName})"
LOGO="nix-snowflake"
HOME_URL="https://nixos.org/"
DOCUMENTATION_URL="https://nixos.org/nixos/manual/index.html"