11 KiB
Release 23.11 (“Tapir”, 2023.11/??)
Highlights
- FoundationDB now defaults to major version 7.
New Services
-
MCHPRS, a multithreaded Minecraft server built for redstone. Available as services.mchprs.
-
acme-dns, a limited DNS server to handle ACME DNS challenges easily and securely. Available as services.acme-dns.
-
river, A dynamic tiling wayland compositor. Available as programs.river.
-
GoToSocial, an ActivityPub social network server, written in Golang. Available as services.gotosocial.
-
Anuko Time Tracker, a simple, easy to use, open source time tracking system. Available as services.anuko-time-tracker.
-
sitespeed-io, a tool that can generate metrics (timings, diagnostics) for websites. Available as services.sitespeed-io.
-
Apache Guacamole, a cross-platform, clientless remote desktop gateway. Available as services.guacamole-server and services.guacamole-client services.
Backward Incompatibilities
-
python3.pkgs.sequoiawas removed in favor ofpython3.pkgs.pysequoia. The latter package is based on upstream's dedicated repository for sequoia's Python bindings, where the Python bindings from gitlab:sequoia-pgp/sequoia were removed long ago. -
writeTextFilenow requiresexecutableto be boolean, values likenullor""will now fail to evaluate. -
The latest version of
cloneheronow stores custom content in~/.clonehero. See the migration instructions. Typically, these content files would exist along side the binary, but the previous build used a wrapper script that would store them in~/.config/unity3d/srylain Inc_/Clone Hero. -
python3.pkgs.fetchPypi(andpython3Packages.fetchPypi) has been deprecated in favor of top-levelfetchPypi. -
mariadbnow defaults tomariadb_1011instead ofmariadb_106, meaning the default version was upgraded from 10.6.x to 10.11.x. See the upgrade notes for potential issues. -
getenthas been moved fromglibc'sbinoutput to its own dedicated output, reducing closure size for many dependents. Dependents using thegetentalias should not be affected; others should move from usingglibc.binorgetBin glibctogetent(which also improves compatibility with non-glibc platforms). -
etcdhas been updated to 3.5, you will want to read the 3.3 to 3.4 and 3.4 to 3.5 upgrade guides -
consulhas been updated to1.16.0. See the release note for more details. Once a new Consul version has started and upgraded its data directory, it generally cannot be downgraded to the previous version. -
himalayahas been updated to0.8.0, which drops the native TLS support (in favor of Rustls) and add OAuth 2.0 support. See the release note for more details. -
The services.caddy.acmeCA option now defaults to
nullinstead of"https://acme-v02.api.letsencrypt.org/directory", to use all of Caddy's default ACME CAs and enable Caddy's automatic issuer fallback feature by default, as recommended by upstream. -
php80is no longer supported due to upstream not supporting this version anymore. -
PHP now defaults to PHP 8.2, updated from 8.1.
-
util-linuxis now supported on Darwin and is no longer an alias tounixtools. Use theunixtools.util-linuxpackage for access to the Apple variants of the utilities. -
The
vlockprogram from thekbdpackage has been moved into its own package output and should now be referenced explicitly askbd.vlockor replaced with an alternative such as the standalonevlockpackage orphyslock. -
fileSystems.<name>.autoFormatnow usessystemd-makefs, which does not accept formatting options. Therefore,fileSystems.<name>.formatOptionshas been removed. -
fileSystems.<name>.autoResizenow usessystemd-growfsto resize the file system online in stage 2. This means thatf2fsandext2can no longer be auto resized, whilexfsandbtrfsnow can be. -
The
services.vaultwarden.configoption default value was changed to make Vaultwarden only listen on localhost, following the secure defaults for most NixOS services. -
services.lemmy.settings.federationwas removed in 0.17.0 and no longer has any effect. To enable federation, the hostname must be set in the configuration file and then federation must be enabled in the admin web UI. See the release notes for more details. -
The following packages in
haskellPackageshave now a separate bin output:cabal-fmt,calligraphy,eventlog2html,ghc-debug-brick,hindent,nixfmt,releaser. This means you need to replace e.g."${pkgs.haskellPackages.nixfmt}/bin/nixfmt"with"${lib.getBin pkgs.haskellPackages.nixfmt}/bin/nixfmt"or"${lib.getExe pkgs.haskellPackages.nixfmt}". The binaries also won’t be in scope if you rely on them being installed e.g. viaghcWithPackages.environment.packagespicks thebinoutput automatically, so for normal installation no intervention is required. Also, toplevel attributes likepkgs.nixfmtare not impacted negatively by this change. -
spamassassinno longer supports theHashcashmodule. The module needs to be removed from theloadpluginlist if it was copied over from the defaultinitPreConfoption. -
The Caddy module gained a new option named
services.caddy.enableReloadwhich is enabled by default. It allows reloading the service instead of restarting it, if only a config file has changed. This option must be disabled if you have turned off the Caddy admin API. If you keep this option enabled, you should consider settinggrace_periodto a non-infinite value to prevent Caddy from delaying the reload indefinitely.
Other Notable Changes
-
The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];from your NixOS configuration. -
fontconfignow defaults to using greyscale antialiasing instead of subpixel antialiasing because of a recommendation from one of the downstreams. You can change this value by configuring accordingly. -
The latest available version of Nextcloud is v27 (available as
pkgs.nextcloud27). The installation logic is as follows:- If
services.nextcloud.packageis specified explicitly, this package will be installed (recommended) - If
system.stateVersionis >=23.11,pkgs.nextcloud27will be installed by default. - If
system.stateVersionis >=23.05,pkgs.nextcloud26will be installed by default. - Please note that an upgrade from v25 (or older) to v27 directly is not possible. Please upgrade to
nextcloud26(or earlier) first. Nextcloud prohibits skipping major versions while upgrading. You can upgrade by declaringservices.nextcloud.package = pkgs.nextcloud26;.
- If
-
New options were added to
services.searxfor better SearXNG support, including options for the built-in rate limiter and bot protection and automatically configuring a local redis server. -
A new option was added to the virtualisation module that enables specifying explicitly named network interfaces in QEMU VMs. The existing
virtualisation.vlansis still supported for cases where the name of the network interface is irrelevant. -
DocBook option documentation is no longer supported, all module documentation now uses markdown.
-
services.fail2ban.jailscan now be configured with attribute sets defining settings and filters instead of lines. The stringed optionsdaemonConfigandextraSettingshave respectively been replaced bydaemonSettingsandjails.DEFAULT.settingswhich use attribute sets. -
services.nginxgained adefaultListenoption at server-level with support for PROXY protocol listeners, alsoproxyProtocolis now exposed inservices.nginx.virtualHosts.<name>.listenoption. It is now possible to run PROXY listeners and non-PROXY listeners at a server-level, see #213510 for more details. -
services.prometheus.exportershas a new exporter to monitor electrical power consumption based on PowercapRAPL sensor called Scaphandre, see #239803 for more details. -
The module
services.calibre-serverhas new options to configure thehost,port,auth.enable,auth.modeandauth.userDbpath, see #216497 for more details. -
services.prometheus.exportershas a new exporter to monitor PHP-FPM processes, see #240394 for more details. -
programs.gnupg.agent.pinentryFlavoris now set in/etc/gnupg/gpg-agent.conf, and will no longer take precedence over apinentry-programset in~/.gnupg/gpg-agent.conf.
Nixpkgs internals
- The
qemu-vm.nixmodule by default now identifies block devices via persistent names available in/dev/disk/by-*. Because the rootDevice is identfied by its filesystem label, it needs to be formatted before the VM is started. The functionality of automatically formatting the rootDevice in the initrd is removed from the QEMU module. However, for tests that depend on this functionality, a test utility for the scripted initrd is added (nixos/tests/common/auto-format-root-device.nix). To use this in a NixOS test, import the module, e.g.imports = [ ./common/auto-format-root-device.nix ];When you use the systemd initrd, you can automatically format the root device by settingvirtualisation.fileSystems."/".autoFormat = true;.