NixOS 17.09 已发布,除了添加许多新的和已升级的软件包外,GNOME 已升级至 3.24,KDE Plasma 升级至 5.10, KDE Applications 升级至 17.08.1,KDE Frameworks 升级至 5.37。
还有以下值得关注的更新:
- The user handling now keeps track of deallocated UIDs/GIDs. When a user or group is revived, this allows it to be allocated the UID/GID it had before. A consequence is that UIDs and GIDs are no longer reused.
- The module option
services.xserver.xrandrHeads
now causes the first head specified in this list to be set as the primary head. Apart from that, it’s now possible to also set additional options by using an attribute set, for example:{ services.xserver.xrandrHeads = [ "HDMI-0" { output = "DVI-0"; primary = true; monitorConfig = '' Option "Rotate" "right" ''; } ]; }
This will set the
DVI-0
output to be the primary head, even thoughHDMI-0
is the first head in the list. - The handling of SSL in the
services.nginx
module has been cleaned up, renaming the misnamedenableSSL
toonlySSL
which reflects its original intention. This is not to be used with the already existingforceSSL
which creates a second non-SSL virtual host redirecting to the SSL virtual host. This by chance had worked earlier due to specific implementation details. In case you had specified both please remove theenableSSL
option to keep the previous behaviour.Another
addSSL
option has been introduced to configure both a non-SSL virtual host and an SSL virtual host with the same configuration.Options to configure
resolver
options andupstream
blocks have been introduced. See their information for further details.The
port
option has been replaced by a more genericlisten
option which makes it possible to specify multiple addresses, ports and SSL configs dependant on the new SSL handling mentioned above.
更新内容比较多,详情请参阅发布主页。
转自 http://www.oschina.net/news/89277/nixos-17-09