Merge pull request #74850 from davidak/PRETTY_NAME
nixos/version: PRETTY_NAME in /etc/os-release uses the release now
This commit is contained in:
commit
56588e9eaa
@ -236,6 +236,13 @@
|
|||||||
release announcement</link> for more information.
|
release announcement</link> for more information.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<literal>PRETTY_NAME</literal> in <literal>/etc/os-release</literal>
|
||||||
|
uses the release now instead of full version
|
||||||
|
to be more suitable for presentation to the user
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
@ -92,7 +92,7 @@ in
|
|||||||
VERSION="${cfg.version} (${cfg.codeName})"
|
VERSION="${cfg.version} (${cfg.codeName})"
|
||||||
VERSION_CODENAME=${toLower cfg.codeName}
|
VERSION_CODENAME=${toLower cfg.codeName}
|
||||||
VERSION_ID="${cfg.version}"
|
VERSION_ID="${cfg.version}"
|
||||||
PRETTY_NAME="NixOS ${cfg.version} (${cfg.codeName})"
|
PRETTY_NAME="NixOS ${cfg.release} (${cfg.codeName})"
|
||||||
LOGO="nix-snowflake"
|
LOGO="nix-snowflake"
|
||||||
HOME_URL="https://nixos.org/"
|
HOME_URL="https://nixos.org/"
|
||||||
DOCUMENTATION_URL="https://nixos.org/nixos/manual/index.html"
|
DOCUMENTATION_URL="https://nixos.org/nixos/manual/index.html"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user