Closed bobby285271 closed 2 years ago
In NixOS, we have the following /etc/os-release, the NAME field is not in line 1:
/etc/os-release
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="22.05.20220514.43ff6cb" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 22.05 (Quokka)" SUPPORT_URL="https://nixos.org/community.html" VERSION="22.05 (Quokka)" VERSION_CODENAME=quokka VERSION_ID="22.05"
Before:
After:
Thanks for this, the previous code was ugly ^^'
In NixOS, we have the following
/etc/os-release
, the NAME field is not in line 1:Before:
After: