From 7e97cbe5a4cc9f89dd2060eb8791bc7bf032ac29 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Sat, 25 Feb 2017 22:15:45 +0100 Subject: [PATCH] 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/ --- nixos/modules/misc/version.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix index 70cd3fb9766ab..bf20e801f61b6 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" ''; };