diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2017-02-25 22:15:45 +0100 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2017-02-25 22:24:34 +0100 |
commit | 7e97cbe5a4cc9f89dd2060eb8791bc7bf032ac29 (patch) | |
tree | ec6784d88bd5925429dd1d25169603c200007b8d /nixos/modules | |
parent | 56a4640b0c77db1b87962298f6feecb7410b05e7 (diff) |
version: Extend /etc/os-release
- Provide additional link for support and bug reporting.
- Use HTTPS links (related: "The IAB encourages all web servers to
employ TLS to protect their content, and use OCSP stapling to improve
the efficiency and privacy of revocation checking." [0].
- Add VERSION_CODENAME
[0]: https://www.iab.org/documents/correspondence-reports-documents/2017-2/iab-statement-on-ocsp-stapling/
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/misc/version.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix index 70cd3fb9766a..bf20e801f61b 100644 --- a/nixos/modules/misc/version.nix +++ b/nixos/modules/misc/version.nix @@ -106,9 +106,12 @@ in NAME=NixOS ID=nixos VERSION="${config.system.nixosVersion} (${config.system.nixosCodeName})" + VERSION_CODENAME=${toLower config.system.nixosCodeName} VERSION_ID="${config.system.nixosVersion}" PRETTY_NAME="NixOS ${config.system.nixosVersion} (${config.system.nixosCodeName})" - HOME_URL="http://nixos.org/" + HOME_URL="https://nixos.org/" + SUPPORT_URL="https://nixos.org/nixos/support.html" + BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" ''; }; |