diff options
author | Daniel Peebles <copumpkin@users.noreply.github.com> | 2017-02-26 00:03:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-26 00:03:33 -0500 |
commit | 2f36be3816c997d829f1d0488400b087addcc996 (patch) | |
tree | 98276e5cbab6ab4a1089aaca9efdcfbf18893855 /nixos/modules | |
parent | 0c3afbd8a70d4edd8394c32dce7fdd14896bad46 (diff) | |
parent | 7e97cbe5a4cc9f89dd2060eb8791bc7bf032ac29 (diff) |
Merge pull request #23190 from primeos/os-release
[RFC] version: Extend /etc/os-release
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" ''; }; |