Release 26.11 ("Zokor", 2026.11/??)

Highlights

  • The default PostgreSQL version for new NixOS installations (i.e. with system.stateVersion >= 26.11) is v18.

  • The nixexprs.tar.xz tarball will be discontinued together with Nixpkgs 27.05 after 2027-12-31. Migrate to the nixexprs.tar.zst tarball instead.

    This affects for example users who pull Nixpkgs as a flake input from https://channels.nixos.org:

    -nixpkgs.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.xz";
    +nixpkgs.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.zst";
    

    (Note: It is recommended to use these channel tarballs instead of github:NixOS/nixpkgs inputs in cases where specific revisions do not need to be pinned. Benefits include smaller download sizes and IPv6 support.)

  • Nix was updated to 2.35, which brings a lot of improvements and fixes. See the release notes for 2.35.

  • GNOME has been updated to version 51. Refer to the GNOME release notes for more details.

  • sing-box now supports NaïveProxy outbounds.

New Modules

Backward Incompatibilities

  • Nixpkgs no longer includes the Python package garth. Garmin changed its authentication flow, breaking new logins, and upstream no longer maintains Garth. Existing sessions can continue to work until their tokens expire.

  • Aurral upgrades from 2.x to 3.0.1. Before upgrading, run Aurral 2.13.0 against the existing data directory and wait for its database migrations to finish. On NixOS 26.05, use services.aurral.package = pkgs.aurral_213; after updating to a revision that provides aurral_213. If you use AUTH_PASSWORD, create an administrator account in the web interface before upgrading; Aurral 3 no longer reads AUTH_USER or AUTH_PASSWORD. Aurral 3 uses the official Lidarr plugin to download albums through Lidarr. To install it declaratively, set services.aurral.plugins = [ pkgs.aurralPlugins.lidarr ];. Read the upstream upgrade notes for other breaking changes.

  • easytier has been updated to 2.7.0 and is stricter about its configuration:

    • services.easytier.instances.<name>.configServer requires a full URL such as udp://example.com:22020/<token>; the bare <token> shorthand for the official server was removed.
    • The WireGuard portal no longer accepts client_cidr or wg://host:port/CIDR. Set wireguard_private_key and list the clients under vpn_portal_config.clients with a virtual_ip each.
    • Unknown keys in the [flags] table are rejected instead of being ignored, so a stale flag now stops the instance with failed to parse flags (upstream #2670).
  • immich-public-proxy has been updated to 4.x, which requires Immich 3.0.0 or newer and no longer reads some old config keys. Check services.immich-public-proxy.settings against the upstream upgrade notes.

  • services.music-assistant no longer ships the service API credentials that upstream bundles only in its official release builds. Providers that rely on them (spotify, qobuz, apple_music, theaudiodb, fanarttv) no longer work out of the box. Register your own credentials and pass them through MASS_APP_VAR_* environment variables or a MASS_APP_VARS_FILE JSON file, as described in services (M). The credentials are not covered by the Apache-2.0 license of the source code and may not be redistributed; see the upstream NOTICE.

  • arsenik has been renamed to kanata-config-aekeynox and updated to 0.4.0, following the upstream repository. services.arsenik has been replaced by services.kanata-config-aekeynox, whose options follow the sections of upstream's kanata.kbd; existing configurations must be migrated by hand.

  • services.freshrss blocks feeds on local and private networks, such as 127.0.0.1, LAN or NAT64 addresses, by default since freshrss 1.30.0. Allow self-hosted feeds, for example from RSS-Bridge, with services (F) or under System configuration in the web UI.

  • stirling-pdf has been updated to 3.1.0. The default server build retains built-in login and additional features, which include code under the Stirling PDF User License. Its package metadata now marks this build unfree, so users must allow unfree packages and review the upstream terms. Users who want the MIT-only build can set services.stirling-pdf.package = pkgs.stirling-pdf-free;. That build has no built-in login; restrict access through another trusted authentication layer before exposing it to other users.

  • services.autobrr.secretFile has been removed, as autobrr no longer uses a session secret since version 1.82.0. Remove the option from your configuration.

  • services.litellm fails to start without a master key since litellm 1.104.0, which refuses to serve unauthenticated requests. Set LITELLM_MASTER_KEY through services (L).

  • Artalk has been updated to 2.10.0. Its default configuration and data directory discovery changed; see the upstream migration guide when invoking artalk directly. The services.artalk module is unaffected.

  • services.opentelemetry-collector.validateConfigFile now defaults to true when the configuration comes from services.opentelemetry-collector.settings, so that configuration is validated at build time. It previously defaulted to isStorePath configFile, which is false whenever settings is used, so the validation never applied to that case.

    Configurations that reference confmap providers such as ${file:/path} or ${env:VAR} for secrets will now fail to build, because otelcol validate resolves those references and the files are not available in the build sandbox. Set services.opentelemetry-collector.validateConfigOverrides to override the affected properties for validation only, for example [ "extensions::bearertokenauth::token=stub" ], or set services.opentelemetry-collector.validateConfigFile = false to opt out.

  • LaSuite Docs has been upgraded to 6.x. The collaboration server has been replaced by a new component. Before rolling out the update, read the guide on how to migrate the data and the options' docs in the NixOS manual.

  • Canaille has been updated to 0.4.0. The release notes mention migration warnings.

  • Grafana with declarative plugins (services.grafana.declarativePlugins) no longer includes default data-sources as these were split out into apps. Make sure to add grafanaPlugins.tempo, grafanaPlugins.prometheus, grafanaPlugins.jaeger & grafanaPlugins.loki as needed.

    Users not using declarative plugins are not affected since Grafana installs those into the default plugin-path that is used unless declarative plugins are used.

  • boot.vesa has been removed. It was deprecated in 2020 because Xorg now works better with kernel modesetting. If you still need the legacy VESA 800x600 fallback, set boot.kernelParams = [ "vga=0x317" "nomodeset" ]; directly.

  • services.gitea-actions-runner is no longer compatible with the pkgs.forgejo-runner executable, migrate to services.forgejo-runner.

  • security.acme now uses lego 5.x. Existing ACME account state is migrated automatically. If you pass raw lego flags through security.acme.*.extraLegoFlags, security.acme.*.extraLegoRunFlags, or security.acme.*.extraLegoRenewFlags, update them for the lego 5.x CLI. In particular, lego renew has been replaced by the renewal mode of lego run. The certificate identifiers formed by domain and extraDomainNames must be unique and canonical to avoid repeated renewals. Use IDNA A-labels for internationalized domain names and RFC 5952 notation for IPv6 addresses. The security.acme.*.dnsPropagationCheck option has been split into two options:

    • security.acme.*.dnsAuthoritativePropagationCheck checks propagation by querying the zone's authoritative nameservers directly.
    • security.acme.*.dnsRecursivePropagationCheck checks propagation through recursive DNS resolvers, which may return cached records until their TTL expires. This option is disabled by default. Users who previously disabled dnsPropagationCheck should review which checks they want to disable and configure the corresponding new options. Disabling both preserves the previous behavior.
  • authentik has been updated to 2026.5.3, which changes the default listen address from 0.0.0.0 to [::]. IPv4-only deployments might need to adjust their listen settings. Deployments running the server and worker in the same network namespace must also set at least the worker AUTHENTIK_LISTEN__HTTP address so that the server and worker do not bind to the same address.

  • nfs-ganesha has been updated to 15.9. Support for the 9P file system has been removed in 15.9.

  • podman has been updated to Podman 6.

    • BoltDB support was dropped. Podman has been automatically migrating to SQLite since 5.8.0 on system reboots.

    • iptables support was dropped, Podman now unconditionally uses its nftables backend. This has the side effect that DNS in custom networks no longer works for rootful containers without a corresponding firewall rule when using the iptables or nftables firewall backend. The firewalld backend is not affected. virtualisation.podman.dns has been introduced to allow DNS traffic configuration. Network interfaces whose name starts with podman are allowed by default. If you have custom podman networks with non-default interface names, add them to virtualisation.podman.dns.interfaces.

    • netavark is now the only supported networking backend.

    • slirp4netns is no longer supported for rootless networking, pasta is now the default and only available option. Existing containers using slirp4netns must be migrated using podman system migrate.

    • Configuration was rewritten and now follows the UAPI.6 Configuration Files Specification.

      See https://github.com/podman-container-tools/podman/blob/v6.0.0/contrib/design-docs/config-file-parsing.md.

      Configuration files are now split into common, rootful and rootless versions. virtualisation.containers was updated to support the new configuration format.

      Configurations which set graphroot or runroot must move these from the common configuration to the rootful config because rootless podman reads this configuration now as well.

    • Upgrading with nixos-rebuild boot and rebooting is recommended, to complete the BoltDB migration and drop stale iptables rules.

    • See upstream release notes: https://github.com/podman-container-tools/podman/blob/v6.1.2/RELEASE_NOTES.md#600

  • virtualisation.podman.enable now sets a default stable path for the init binary used by podman. This prevents containers using --init to break between updates. Containers started with --init must be recreated to pick up the new path.

  • qt.platformTheme no longer supports the gtk2 option as GTK 2 had reached end-of-life and will be removed in Nixpkgs.

  • pkgs.php now points to PHP 8.5

  • services.paperless has been updated to paperless-ngx 3.0, a major release; review the upstream v3 migration guide before upgrading.

    • paperless-ngx 3 requires a non-default PAPERLESS_SECRET_KEY. The module now generates one automatically, reusing the key from earlier NixOS releases so existing sessions keep working; a key set via environmentFile still takes precedence.
    • The full-text search backend changed from Whoosh to Tantivy. The search index is rebuilt automatically on the first start after upgrading, which can take a while for large document sets.
    • Some settings changed or were removed (for example, an external database now needs an explicit PAPERLESS_DBENGINE); review your services.paperless.settings against the migration guide.
  • firefox no longer defaults to allowing silent downgrades that can lead to loss of important browser state. This matches the behaviour which upstream Firefox has intended since version 67. In case of an intended or necessary downgrade, users are advised to use the -allow-downgrade CLI argument or MOZ_ALLOW_DOWNGRADE=1 environment variable to accept the risk of data loss and continue using the profile. Users who frequently downgrade Firefox versions can use the allowDowngrade override to restore the previous behaviour of setting the environment variable by default.

  • services.alps has been rewritten, see upstream repository for configuration.

  • Nginx no longer includes the unmaintained dav module per default. If you happened to use it via a dav_* directive, you can include it with services.nginx.additionalModules = [ pkgs.nginxModules.dav ] again.

  • Support for the legacy U‐Boot image format has been removed from the initrd generators, as it is deprecated upstream and no longer used by any platform in Nixpkgs.

  • services.pid-fan-controller no longer provides deep configuration rewriting and adheres now fully to RFC42.

  • strongSwan has been updated to 6.1.0, which defaults to only accepts IKEv2 connections as responder.

  • hime has been removed, please consider fcitx5 with input method modules, for examples: fcitx5-array or fcitx5-anthy.

  • wivrn has dropped support for PulseAudio in 26.9. WiVRn now only supports audio through PipeWire.

  • programs.envision has been removed because the envision package was unmaintained and thus dropped from nixpkgs.

  • The extraArgs and check arguments to nixos/lib/eval-config.nix (and therefore to lib.nixosSystem) have been removed after being deprecated with a warning since 2021. Passing them is now an evaluation error. Instead of extraArgs, set config._module.args; instead of check = false, set config._module.check = false. The extraArgs attribute on the resulting configuration has been removed as well.

  • Setting the newly added xdg.directories.enable to true (it is false by default) will cause $XDG_CACHE_HOME, $XDG_CONFIG_HOME, $XDG_DATA_HOME, and $XDG_STATE_HOME environment variables to be set to the values that should be used as a fallback if the variables are not set, as per XDG Base Directory specification. Theoretically, this should have no effect on compliant applications, but some applications only comply when they see those variables set, and otherwise just spam into the $HOME directory. This is wrong, but, hopefully, those applications at least know to not ignore their old files/directories in $HOME if those already exist. Otherwise, some breakage is going to happen.

  • Rustical migrates from settings.http.host and settings.http.port to settings.http.bind to support UNIX domain sockets as well as TCP sockets in one setting.

  • The jetty_11 package has been removed as it reached end of life. Use jetty_12 instead.

  • The postsrsd module now supports integrating with Postfix as a milter. The services (P) option has become an enum to reflect the different integration options. Boolean values are deprecated and will be removed in NixOS 27.05. The previous default true is equivalent to socketmap.

  • zammad has been updated to v7.2.2 to fix recent security issues. Because this version drops support for elasticsearch v7 and since v8 is not available in nixpkgs so far, running Zammad with Elasticsearch currently is not supported. See #568263 for details.

  • drasl 4.0.0 has restructured its configuration options for user registration. See the release notes and review your services.drasl.settings.

  • The Mullvad VPN service now has a separate toggle to enable the Mullvad VPN graphical user interface. If you have previously used Mullvad on a desktop by setting services.mullvad-vpn.package to pkgs.mullvad-vpn, you should now unset that option, and enable services.mullvad-vpn.gui.enable. The VPN will not work if services.mullvad-vpn.package is set to pkgs.mullvad-vpn, as pkgs.mullvad-vpn no longer contains the Mullvad Daemon; please ensure that services.mullvad-vpn.package is set to pkgs.mullvad, regardless if you plan to enable the graphical user interface or not.

  • The parsedmarc module has switched its default search engine from Elasticsearch to OpenSearch. The services.parsedmarc.provision.elasticsearch option has been replaced by services.parsedmarc.provision.opensearch.

  • TUI command of tracexec now allocates a pseudo terminal by default. Use --no-tty to run without one and redirect the tracee's stdin, stdout, and stderr to /dev/null. eBPF system-wide tracing continues to run without a pseudo terminal automatically. The old -t/--tty parameter is removed.

  • A number of options for services.llama-cpp have been removed in favor of the structured services (L) option, attributes from which are used as arguments to llama-server executable, you can see all available options by running llama-server --help. Configuring model presets using Nix attribute set via services.llama-cpp.modelsPreset is no longer supported, please use services.llama-cpp.settings.models-preset with a path to an INI file containing desired options.

  • crowdsec module has been rewritten. Some attributes have been moved and/or removed for better maintainability including bug fixes during startup.

  • postgresql_14 has been removed since it reached its end of life.

  • gitea has been updated to major version 28.0.0. The full changelog can be found at https://blog.gitea.com/release-of-28.0.0/ and the most important breaking changes are:

    • The services.gitea.settings.server.DOMAIN option has been removed upstream. services.gitea.settings.server.ROOT_URL must now be set.

    • Upstream disabled self-registration by default. To allow users to register by themselves, services.gitea.settings.service.DISABLE_REGISTRATION = false must be set.

    • Completed Actions runs are now deleted per default after 400 days. services.gitea.settings.actions.RUN_RETENTION_DAYS can be set to customize this.

  • Scripted stage 1 has been removed. See the 26.05 release notes for details.

  • ensure-printers.service has been replaced with an ExecStartPost hook in cups.service. If you have made any manual modifications to this unit, you should move the modifications to cups.service instead.

  • services.adguardhome no longer supports settings.schema_version values below 23.

  • The NIX_XDG_DESKTOP_PORTAL_DIR environment variable is no longer used in the xdg-desktop-portal package and is therefore no longer set in xdg.portal module. Instead the XDG_DATA_DIRS environment variable is used to find xdg-portals.

    If you were relying on NIX_XDG_DESKTOP_PORTAL_DIR to point at custom portal definitions, add the package providing them to xdg.portal.extraPortals.

  • Python 2 has been removed from the top-level package set, as it is long past end-of-life. The python2, python27, python2Full, python27Full, python2Packages, and python27Packages attributes, along with the legacy python, pythonFull, and pythonPackages aliases, now throw an error directing you to python3. The isPy2 and isPy27 package flags have been removed accordingly. The only remaining Python 2 interpreter is vendored inside the resholve package for its oil dependency and is not exposed for general use.

  • services.bazarr gained an RFC42-style services.bazarr.settings option backed by DYNACONF_* environment variables, with _secret-marker support for credentials via systemd's LoadCredential=. services.bazarr.listenPort is now services.bazarr.settings.general.port; existing configurations continue working via mkRenamedOptionModule. services.bazarr.settings.analytics.enabled defaults to false on NixOS to opt users out of upstream's enabled-by-default telemetry.

  • The bazarr systemd service has been security hardened. If you are storing/accessing data in /home, you will need to adjust the ProtectHome option.

  • For security reasons, wrapped programs in security.wrappers are now required to be ELF executables.

  • security.polkit.enablePkexecWrapper has been introduced, making the pkexec setuid wrapper opt-in.

  • services.pghero has been removed because the pghero package was unmaintained and thus dropped from Nixpkgs.

  • services.podgrab has been removed because the podgrab package was unmaintained and thus dropped from Nixpkgs.

  • services.dspam has been removed because the dspam package was unmaintained and thus dropped from Nixpkgs.

  • Apache Kafka has dropped support for ZooKeeper mode. The apacheKafka_3_9 and apacheKafka_4_0 packages have been removed, as every remaining packaged version is KRaft-only. The services.apache-kafka.zookeeper option (previously an alias for services.apache-kafka.settings."zookeeper.connect") has been removed; migrate your cluster to KRaft mode instead.

  • virtualisation.containers.registries.block / insecure / search were deprecated, because they mapped to the deprecated V1 registries.conf format. See the new option virtualisation.containers.registries.settings and containers-registries.conf(5) to migrate to the new configuration format.

  • When Avahi's mDNS resolver is enabled (services.avahi.nssmdns4 or services.avahi.nssmdns6), only the minimal mDNS resolver is enabled by default to avoid adding a 5 second delay to every failed reverse hostname lookup (e.g., delaying ping by 5 seconds). The "full" mDNS resolver now remains disabled unless services.avahi.nssmdnsFull is also enabled. Users who have customized /etc/mdns.allow to allow mDNS domains not ending .local must enable services.avahi.nssmdnsFull to continue to resolve such domains.

  • String values passed to services.phpfpm.settings, services.phpfpm.pools.<name>.phpEnv, and services.phpfpm.pools.<name>.settings are now properly quoted and escaped, except for the ${} syntax that is left as-is. If you are manually escaping these values, please adjust accordingly.

  • GitLab has been updated from 18.x to 19.x and requires PostgreSQL >= 17, as stated in the documentation. Check the upgrade guide in the NixOS manual on how to upgrade your PostgreSQL installation.

  • services.gitlab.registry has been modified so that the GitLab container registry runs in the gitlab-container-registry system user. This behavior can be modified with the services.gitlab.registry.user option.

  • fail2ban has been updated to 1.1.1, which has a few breaking changes compared to 1.1.0 (changelog)

  • openbao has been updated to 2.7.0, which no longer includes the pkcs11, alicloudkms, awskms, azurekeyvault, gcpckms and ocikms seals, the LDAP, Kerberos and RADIUS auth methods, or the LDAP secrets engine. The seals are available as plugins in pkgs.openbaoPlugins and can be installed with services.openbao.plugins. The withHsm override argument has been removed.

  • services.neo4j.tls.<policy_name>: This policy is no longer enabled by default. If you rely on this policy, you must now explicitly opt-in by setting services.neo4j.tls.<policy_name>.enable = true;.

  • systemd.user.extraConfig has been removed in favor of the structured systemd option. Use systemd.user.settings.Manager to set any systemd-user.conf(5) option directly. For example, replace systemd.user.extraConfig = "DefaultTimeoutStartSec=60"; with systemd.user.settings.Manager.DefaultTimeoutStartSec = 60;.

  • systemd.nspawn.<name>.settings has been introduced to replace the individual execConfig, filesConfig and networkConfig options. A rename notice has been added so that existing configurations continue to work.

  • matrix-appservice-discord was removed from nixpkgs along with its NixOS module (services.matrix-appservice-discord) as it is no longer actively maintained upstream. Use the actively-maintained puppeting bridge mautrix-discord instead.

  • services.logrotate.configFile has been removed. If you still need to load a config from another directory, use include directives within services.logrotate.settings.

  • Home Assistant 2026.8.0 migrated its HTTP configuration from YAML into the frontend. After upgrading, any options configured under services.home-assistant.config.http can be removed. HTTP settings can now be configured from the Home Assistant frontend under Settings → System → Network. If no HTTP settings were previously configured, Home Assistant will default to listening on all interfaces on port 8123.

  • services.timesyncd.extraConfig has been removed in favor of the structured services (T) option. Use services.timesyncd.settings.Time to set any timesyncd.conf(5) option directly. For example, replace services.timesyncd.extraConfig = "PollIntervalMaxSec=180"; with services.timesyncd.settings.Time.PollIntervalMaxSec = 180;.

  • services.firezone.server.provision has been removed due to it being unmaintanable. Remove all uses of provisioning and use the WebUI to configure firezone.

  • security.unprivilegedUsernsClone has been removed. The option controls a sysctl only provided by the removed -hardened kernels. The removal should only affect users running custom hardened kernels. Disabling user-namespace is possible by setting boot.kernel.sysctl."user.max_user_namespaces" to zero, but not generally advised, as browsers, like firefox and chrome, and many other user tools use namespaces for sandboxing.

  • The services.syncthing module now updates the Syncthing REST API using partial updates (PATCH) instead of full replacements (PUT) for general settings. Updating these settings was broken and prone to errors after updates, see #428808 and #528889. As a result, settings modified manually through the Syncthing Web UI that are not explicitly defined in your Nix configuration will now persist across rebuilds.

  • services.plantuml-server.packages.jetty now supports jetty_12, it no longer supports jetty_11.

  • services.mtprotoproxy.extraConfig, services.mtprotoproxy.adTag, services.mtprotoproxy.users and services.mtprotoproxy.port have been removed in favor of services.mtprotoproxy.settings.

  • services.sickbeard has been removed because all remaining compatible forks were removed from Nixpkgs due to security concerns. See #560697 for details.

  • services.nginx has a new option to set the number of worker processes to launch. It's set by default to auto instead of the previous default 1. Make sure to remove worker_processes from your own config (e.g. services.nginx.appendConfig) as nginx doesn't allow more than one definition.

  • services.komodo-periphery has been updated to support version 2.0.0. Some options have been renamed to match the new configuration structure; compatibility aliases are provided for the renamed options. The passkeys and outbound.onboardingKey options have been removed; use passkeyFiles, auth.privateKey/auth.corePublicKeys, or outbound.onboardingKeyFile instead. New outbound mode configuration is available under outbound.*.

  • services.pdfding has been updated to support pdfding version 1.14.0. The automated backup functionality services.pdfding.backup option has been removed.

  • sing-box has been updated to 1.14.0, which has removed some deprecated options. See upstream documentation for details and migration options.

  • services.multipath.enable no longer has any stage 1 implementation due to the removal of scripted stage 1.

  • services.pfix-srsd and the supporting pfixtools package have been removed, as the project is dormant and does not support pcre2. services.postsrsd is the recommended replacement for Sender Rewriting Scheme support with Postfix.

  • services.quake3-server.port has been removed in favor of the structured services (Q) option. Use services.quake3-server.settings.net_port to set any custom UDP port directly.

  • services.keycloak now connects to the database created by services (K), which is enabled by default, over the Unix socket with socket authentication. services (K) is no longer needed for it, and existing MySQL and MariaDB users are switched to socket authentication automatically. createLocally was previously silently ignored when host was changed, as were name and username; it now requires services (K) to be a socket path and services (K) and services (K) to be keycloak. External or self-provisioned databases require services.keycloak.database.createLocally = false.

  • Package overseerr has been removed as the overseerr and jellyseerr projects were merged under seerr.

  • The papra NixOS module is now hardening the systemd unit by default. If this breaks any of the configured directories, please reconfigure them through services.papra.environment to enable sandbox passthrough.

  • The image/repart.nix module now requires users to explicitly enable its use via image.repart.enable.

  • dhcpcd has been updated to 10.5, which hardens its control socket (CVE-2026-56117). The world-accessible /run/dhcpcd/unpriv.sock is gone and /run/dhcpcd/sock is only accessible to the dhcpcd user, so unprivileged users can no longer query dhcpcd (e.g. dhcpcd -U, dhcpcd --dumplease). To grant a group read access, set networking. programs sets it to dhcpcd-read when programs is the default dhcpcd command, so add the users who run captive-browser to that group. readGroup only grants read access. Control commands, such as renewing or releasing a lease, still need root or a controlgroup (see dhcpcd.conf(5)).

  • services.selfoss.extraConfig and services.selfoss.database have been removed in favor of the structured services (S) option. When moving the database options to settings, you should also switch to the upstream naming:

  • slskd has been updated to v0.25.0, which renames the global option to transfers. Please review the changelog.

  • boot.iscsi-initiator no longer has any stage 1 implementation due to the removal of scripted stage 1.

  • firefox-syncserver.database.type no longer defaults to "mysql". You must now explicitly choose between "mysql" and "postgresql". New deployments should prefer PostgreSQL.

  • chatgpt has been retargeted to OpenAI's new ChatGPT desktop app, while the previous app has been renamed to chatgpt-classic.

  • NetBox was updated to >= 4.7.0. Have a look at the breaking changes of the 4.6 release and the 4.7 release, make the required changes to your configuration and database, if needed, before you upgrade to NixOS 26.11.

  • services.minio has been removed because the minio package was abandoned upstream and therefore dropped from nixpkgs.

  • The services.scx module has been removed. Please migrate to services.scx-loader instead.

  • hydra has been updated to the Rust queue runner/evaluator:

  • The COSMIC desktop module now enables by default system76-power and system76-scheduler following upstream recommended packages. The previous power managment service can be enabled back by setting services.power-profiles-daemon.enable = true.

  • Dank Linux has been renamed to Dux Labs and the suite packages has been updated to v2.0.0.

    • The suite packages have been renamed: dms-shell to dux-shell, dms-greeter to dux-greeter, dankcalendar to dux-calendar, dsearch to dux-search, and dgop to dux-gop.
    • The NixOS options programs.dms-shell, services.displayManager.dms-greeter, and programs.dsearch have been renamed to programs.dux-shell, services.displayManager.dux-greeter, and programs.dux-search. The old package and option names remain available as deprecated aliases.
    • The programs.dux-shell.enableVPN, enableDynamicTheming, enableAudioWavelength, and enableCalendarEvents options have been removed. matugen and cava are now included in the default Dux Shell environment and can be excluded with programs.dux-shell.excludePackages. Networking and calendar backends are now configured separately.
    • programs.dux-shell.enable no longer enables services.power-profiles-daemon by default. Configure a power profile provider separately.
  • services.porn-vault.settings.persistence.libraryPath needs to be appended with "/library" for existing users using a non-default value for that option, due to upstream changes.

  • services.porn-vault.settings may need changes when using non-default options, due to upstream changes. Chack the new default module config for reference.

  • Flarum 2 is now available as pkgs.flarum_2. Flarum 1 has moved to pkgs.flarum_1, and pkgs.flarum is now a deprecated alias for it. services.flarum.package now defaults to:

    • pkgs.flarum_1 if system.stateVersion is older than 26.11, so existing installations keep running Flarum 1;
    • pkgs.flarum_2 otherwise.

    Switching an existing installation to pkgs.flarum_2 upgrades its database in place, which can't be undone. Back up the database first, and make sure every installed extension has a release for Flarum 2.

  • services.haste-server has been removed because the haste-server package was dropped from Nixpkgs because the upstream was deleted.

  • The Dawarich web service now uses systemd socket activation. With services.dawarich.configureNginx enabled (the default), it listens on the Unix socket services.dawarich.unixSocket and no longer on TCP port 3000. Set services.dawarich.webPort to keep listening on the TCP port as well.

Other Notable Changes

  • services.immich-public-proxy can now run the optional upload service, which lets visitors of a shared link send photos and videos into it, with services.immich-public-proxy.upload.enable.

  • services.k3s and services.rke2 now expose the images declared in images through a /nix/store directory symlinked into /var/lib/rancher/${name}/agent/images/nixos/. The directory's store path changes whenever any image derivation changes, which makes k3s/rke2 detect and re-import the new archives, while /var/lib/rancher/${name}/agent/images/ itself remains a normal directory that can still be used for manually added images. Previously, each image was linked with a fixed file name directly in that directory, so the cluster would not notice image updates and old symlinks could become dangling. After upgrading, you may want to remove those dangling symlinks (that was the case already when you wanted to stop deploying an image).

  • The phpfpm pool services are much stronger hardened now, most notably:

    • The number of capabilities the service needs was restricted to the ones phpfpm needs to start a pool. If your application does initialization in a preStart-hook of the phpfpm-service, this will likely break. Create a dedicated oneshot-unit with the correct permissions instead that starts before phpfpm.
    • UMask is 0007, i.e. files are by default no longer world-readable.
    • Allowed syscalls are restricted to @system-service.
    • phpfpm still starts as root, so access to a lot of system-level resources is blocked now (e.g. clock, kernel modules, namespaces).
  • services.cassandra now writes JVM crash logs (hs_err_pid*.log) to services.cassandra.homeDir instead of /tmp.

  • services.cassandra now runs with PrivateTmp. Cassandra keeps no durable or high-traffic data in /tmp, so this change only improves the security posture, but at the cost of ease of access to some diagnostic files. The private /tmp is a directory on the same file system as before, and systemd removes it when the service stops. See Apache Cassandra for the files that this affects, and for the commands that now need to run in the mount namespace of the service.

  • programs.regreet has been renamed to services.displayManager.regreet.

  • programs.hyprland no longer installs a cap_sys_nice security wrapper for Hyprland. Since 0.57.0, Hyprland requests realtime scheduling from rtkit instead, so the module now enables security.rtkit by default.

  • services.displayManager.regreet.theme.package no longer defaults to gnome-themes-extra. GTK4 resolves the Adwaita, Adwaita-dark and HighContrast theme names itself, so regreet no longer installs those theme files system-wide. Add environment.systemPackages = [ pkgs.gnome-themes-extra ]; if the rest of your environment relies on them.

  • services.keycloak can now connect to MySQL and MariaDB over a Unix socket, like PostgreSQL, by setting services (K) to the socket file. The junixsocket plugins are now added automatically whenever host is a socket path, so manually added ones can be removed from services (K).

  • services.harmonia gained gc options that run harmonia-gc, a faster reimplementation of nix-collect-garbage, either on demand via harmonia-gc.service or on a timer with services.harmonia.gc.automatic as an alternative to nix.gc.automatic.

  • services.nar-serve.domain now applies. The option was declared, but the service never got it, thus it did nothing. With it set, nar-serve serves each store path under its own sub-domain.

  • services.pgbackrest now keeps its lock files in /run/pgbackrest instead of /tmp, so that pgbackrest and the postgres user share access to them.

  • komodo has been updated to the v2 release line (2.x). See the upstream v1 → v2 upgrade guide.

  • services.kanidm supports declarative entry management via services.kanidm.server.entryManagement.migrations to import person and group records natively on server startup as a lightweight alternative to services.kanidm.provision.

  • temporal has been updated to the 1.31 release line. Always consult the upstream upgrade notes before upgrading between versions.

  • The tdarr-server, tdarr-node and tdarrPackages package attributes have been replaced by tdarr.server and tdarr.node. The old names still work as deprecated aliases.

  • The Xen Project Hypervisor has been updated to version 4.22, after version 4.21 was skipped in 26.05. The module now has a separate option to customise the OCaml-based Xen Store Daemon package, virtualisation.xen.store.package.

  • The shell_interact() function on interactive runs of NixOS VM tests has been deprecated. Use the SSH backdoor instead.

  • NixOS tests using systemd-nspawn containers now support graphical X11 applications, including keyboard input, screenshots, and OCR. The interactive test driver opens each container's default X11 display in TigerVNC for observation and input.

  • The programs.fish.shellFunctions option can now be used to create custom fish functions in a structured manner, as opposed to concatenating strings with program.fish.interactiveShellInit.

Example

Migrating fish functions to programs.fish.shellFunctions

Custom fish functions have historically been defined like so:

{
  programs.fish.interactiveShellInit = ''
    function backup --argument filename --description "Creates a backup copy of a file in the current directory."
      cp $filename $filename.bak
    end
  '';
}

The above example can be migrated via the following structured code block:

{
  programs.fish.shellFunctions = {
    backup = {
      modifiers = {
        description = "Creates a backup copy of a file in the current directory.";
        argument = "filename";
      };
      body = ''
        cp $filename $filename.bak
      '';
    };
  };
}
  • The new programs.ssh.hosts option can be used to add Host blocks to the client ssh_config, keyed by Host pattern, instead of writing them by hand via programs.ssh.extraConfig. Each block declares an programs.ssh.hosts.<name>.order, since ssh_config applies the first obtained value for each keyword.

  • services.openssh now generates a hybrid post-quantum ML-DSA 44/Ed25519 host key at /etc/ssh/ssh_host_mldsa44_ed25519_key by default.

  • services.nebula has been updated for version 1.12:

    • Nebula now creates runtime directories containing control and info sockets at /var/run/nebula/<network>.
    • The NixOS module enables both tun.use_offloads and listen.udp_offloads by default for increased performance.
  • services.esphome has been rewritten to use the new ESPHome Device Builder which replaces the previous ESPHome dashboard. Most settings have been converted to equivalent or comparable Device Builder settings. The option services.esphome.usePing has been removed since the Device Builder does not have such an option.

  • services.hostapd gained interfaceName per network, separating the interface name emitted in the hostapd configuration from the network attribute name. Secondary BSSs on different radios can now share an interface name (for example mld0) when configured as links of the same Wi-Fi 7 multi-link device with settings.mld_ap = true, which is required for MLO support. It defaults to the attribute name, so existing configurations are unchanged.

  • NixOS VM tests now prefer to express durations and timeouts as datetime.timedelta values instead of bare numbers. Methods such as machine.wait_until_succeeds, machine.sleep, retry, and polling_condition now accept a timedelta (e.g., machine.wait_for_unit("sshd.service", timeout=datetime.timedelta(minutes=1))). Passing an int/float as seconds still works but now emits a deprecation warning. Argument names that explicitly defined units were preserved but have had timedelta equivalents introduced (timeout_seconds → timeout, secs → duration, seconds_interval → interval).

  • darwin.linux-builder-vz has been added: a variant of darwin.linux-builder that runs the builder guest on Apple's Virtualization.framework via the new vzvm package, translating x86_64-linux builds with Rosetta instead of emulating them. Apple silicon hosts only. The guest boots on demand and powers off after 10 idle minutes, see virtualisation.vz.idleTimeout. As part of this, the nixos/modules/profiles/nix-builder-vm.nix profile has been split into the backend-neutral nixos/modules/profiles/nix-builder.nix and a QEMU-specific part. Existing imports of nix-builder-vm.nix keep working unchanged.

  • darwin.linux-builder and darwin.linux-builder-vz now configure the guest Nix daemon to support NixOS tests using systemd-nspawn containers, including tests that share a network with QEMU VMs. The builders enable automatic UID allocation, the auto-allocate-uids and cgroups experimental features, and sandbox access to /dev/net. nix-darwin users must also add "uid-range" and "devnet" to nix.linux-builder.supportedFeatures so the host can schedule these tests on the builder.

  • services.netbox has received a number of updates:

    • Default settings can now be introspected at services (N).
    • Environment files can now be passed at services (N).
    • When Django secret key or API token peppers remain unset, random values will automatically be generated and stored below /var/lib/netbox.
    • Multiple peppers can now be maintained, which allows for pepper rotation.
    • All options to bind the gunicorn socket have been unified in services (N) and the default changed to a UNIX domain socket.
    • A cookie-cutter nginx vhost can be enabled at services (N).
  • The monero systemd service has been security hardened.

  • security.run0.enableSudoAlias now uses the run0-sudo-shim instead of a shell-script to improve compatibility.

  • With system.etc.overlay.mutable = false, NixOS now ships an empty /etc/machine-id in the image. Previously the file was absent and systemd logged System cannot boot: Missing /etc/machine-id and /etc/ is read-only while ConditionFirstBoot fired on every boot. With this change, systemd now overlays a transient ID from /run/machine-id for the session, and systemd-machine-id-commit.service has ConditionFirstBoot so it writes the machine-id through to a persistent backing file when one is bind-mounted over /etc/machine-id. To persist the machine-id across reboots, bind-mount a writable file containing uninitialized over /etc/machine-id from the initrd, or set systemd.machine_id= on the kernel command line (use systemd.machine_id=firmware to derive a stable ID on hardware that supports it).

  • security.run0.persistentAuth options have been added to support persistent Authentication of session. Timeout configurable via security.polkit.settings.Polkitd.ExpirationSeconds.

  • services.phpfpm.pools.<name>.phpOptions, services.phpfpm.phpOptions and services.httpd.phpOptions are now attribute sets instead of strings. Supplying the PHP configuration as strings is still supported for this release but prints a deprecation warning and will be removed in a future release. Please migrate, e.g. services.phpfpm.pools.<name>.phpOptions = { "date.timezone" = "CET"; };.

  • virtualisation.qemu.firmware.enable has been added to install QEMU firmware descriptors to /etc/qemu/firmware, making the corresponding firmware images discoverable by tools such as systemd-vmspawn. By default this exposes the firmware bundled with QEMU. Further firmware can be added via virtualisation.qemu.firmware.packages, for example the new OVMF-amdsev and OVMF-inteltdx packages, which provide UEFI firmware for AMD SEV-SNP and Intel TDX confidential VMs.

  • boot.loader.systemd-boot gained support for Automatic Boot Assessment via the new boot.loader.systemd-boot.bootCounting options, allowing automatic detection of and recovery from bad NixOS generations. As part of this change, boot loader entries on the ESP/XBOOTLDR partition are now named nixos-<content-hash>.conf instead of nixos-generation-<n>.conf; existing entries are migrated automatically on the next nixos-rebuild boot/switch.

  • The Wordpress module now supports auto database migrations using wp-cli, which gets triggered after every package version update.

  • PHP 8.2 (pkgs.php82) has been removed since it has reached its end of life.

  • services.nginx gained a lua option to enable Lua scripting via OpenResty's lua-nginx-module on a stock nginx, configuring lua_package_path/lua_package_cpath from the packages listed in services.nginx.lua.extraPackages. Use this to add Lua to a regular nginx; for the full OpenResty platform (libraries that rely on its bundled lualib, such as lua-resty-openidc), set services.nginx.package to pkgs.openresty instead — the option configures the Lua search path for it too.

  • services.nginx.virtualHosts.<name>.locations.<name> gained a new useGrpcErrorPages option. If enabled, it sets up error pages that are valid gRPC messages. This is useful if you proxy gRPC and want to emit errors from nginx, for example when adding authentication on top.

  • security.polkit.settings added for RFC42 style configuration of the polkitd daemon.

  • security.polkit now opens the polkit-agent-helper@ sandbox for U2F and Yubico devices when security.pam.services.polkit-1.u2f.enable or security.pam.services.polkit-1.yubicoAuth is set. It previously followed the global security.pam.u2f.enable and security.pam.yubico.enable. The per-service options default to the global ones, so only configurations that disable them for polkit-1 see a change.

  • boot.supportedFilesystems.ntfs installs ntfsprogs-plus instead of ntfs3g on kernel version 7.1 and later, unless boot.supportedFilesystems.ntfs-3g is explicitly enabled.

  • services.i2pd has been refactored to take RFC42-compliant settings. In order to migrate, you will need to move existing config under settings and rename them in accordance with the upstream config format. In addition, inTunnels and outTunnels needs to be renamed to serverTunnels and clientTunnels respectively.

  • The programs.fuse module, which provides the fusermount3 executable and the /etc/fuse.conf config file, is now opt-in. The obligation to enable it has been shifted to its various consumers (e.g. gvfs, flatpak, appimage, sshfs). This can break fuse consumers at runtime, that don't explicitly declare that dependency with a module, e.g the mounting functionality in various backup tools (borg, restic, rclone, ...).

  • The [Grav CMS][https://getgrav.org/] package grav is now deprecated and users are directed to grav_2. Migrating sites to Grav 2 is a manual process with this package since the migration plugin cannot modify the Nix store. The services.grav.package option defaults to pkgs.grav_2 if system.stateVersion >=26.11.

  • The implementation of services.btrfs.autoScrub has been refactored to use systemd templates. As part of this change, mountpoints to be scrubbed are now automatically mounted (if not already mounted) when the unit is started.

  • services.plausible can now again seed an initial admin user declaratively via services.plausible.adminUser.email. This makes fully declarative deployments safer: Otherwise the user needed to either accept Plausible's unauthenticated "first launch" setup wizard, which lets anyone reaching the instance create the first admin account, or do more work (deploying with NixOS's default binding to localhost without exposing it publicly, going through the wizard, and then deploying Plausible exposed to the Internet). This option was previously removed with NixOS 25.05 due to an upstream Plausible change making declarative admin creation more difficult, but this change re-implements the admin creation directly.

  • services.gitlab.registry now uses PostgreSQL as database storage for new installations and supports old installations that use the filesystem as metadata storage. It creates the required PostgreSQL database and user. Users can manually migrate their filesystem based metadata storage. See GitLab Container Registry Migration to database metadata store.

  • services.fail2ban now supports systemd socket activation via fail2ban.socket. The socket is owned by a system group fail2ban with mode 0660 (previously owned by the root group and had mode 0600).

  • services.prometheus.exporters.fail2ban now runs as DynamicUser instead of the fail2ban-exporter user.

  • Enabling services.userborn on a system that was previously managed by the default update-users-groups.pl script now imports the legacy state from /var/lib/nixos/ on the first switch. Locked stub entries are added to /etc/passwd and /etc/group for every name recorded in uid-map/gid-map that no longer has a live entry, so a previously-used UID/GID cannot be reassigned to a different user. Subordinate id ranges recorded in auto-subuid-map are seeded into the subid files as well. If the import fails, userborn does not start and the user database is left untouched. Inspect journalctl -u userborn-import-legacy.service, fix or remove the legacy state, and switch again. The import can be skipped entirely with services.userborn.importLegacyState = false.

  • services.xserver.desktopManager.phosh has been renamed to services.desktopManager.phosh. The old option path continues to work via a compatibility alias.

  • services.nftables now stores rules to be deleted on reload in the "nftables" RuntimeDirectory. /var/lib/nftables is no longer used and StateDirectory directive was removed from the unit.

  • The newuidmap and newgidmap security wrappers are now installed with cap_setuid/cap_setgid file capabilities instead of the setuid-root bit, matching shadow's --with-fcaps install mode and other major distributions. Rootless containers (podman, docker-rootless, unprivileged user namespaces) are unaffected. The only behavioural change is that mapping host uid 0 via /etc/subuid (which NixOS never configures by default) additionally requires cap_setfcap; users who explicitly grant uid 0 in a subuid range can restore the previous behaviour with security.wrappers.newuidmap.capabilities = lib.mkForce "cap_setuid,cap_setfcap+ep";.

  • Added virtualisation.oci-containers.containers.<name>.tmpFs to configure tmpfs mounts on OCI containers. Refer to the Docker engine documentation for the full list of mount options.

  • The authelia module now uses systemd's LoadCredential to load all files defined in secrets. As such, these files no longer need to be readable by the authelia user and group: they can for example be set to be only readable by the root user.

  • zoneminder has been updated to 1.38.x release. See upstream release note. While database migration should happen automatically, it's recommended that you make a backup of the database before upgrading your system.

  • programs.kdeconnect gained an openFirewall option (defaults to true, preserving previous behavior), allowing the firewall ports (1714-1764) to be opened independently of installing the package.

  • The latest available version of Nextcloud is v34 (available as pkgs.nextcloud34). The installation logic is as follows:

    • If services.nextcloud.package is specified explicitly, this package will be installed (recommended)
    • If system.stateVersion is >=26.11, pkgs.nextcloud34 will be installed by default.
    • If system.stateVersion is >=26.05, pkgs.nextcloud33 will be installed by default.
    • nextcloud32 is EOL and was thus removed.
    • Please note that an upgrade from v32 (or older) to v34 directly is not possible. Please upgrade to nextcloud33 (or earlier) first. Nextcloud prohibits skipping major versions while upgrading. You can upgrade by declaring services.nextcloud.package = pkgs.nextcloud33;.
  • trilium-desktop and trilium-server have been updated to 0.104.0. This release includes security hardening fixes that may break functionality. See upstream release note for details.

  • nix now supports running in "daemonless" mode by setting nix.daemon.enable = false. Under this mode all store operations must go through the local store type, which typically requires root permissions.

  • nix build logs older than a given age can now be automatically deleted by setting the nix.buildLogRetention option to a systemd time span (as described by systemd.time(7)).

  • Hister, a web history service offering blazing fast, content-based search across visited websites. Available as services.hister.

  • The default of networking.firewall.checkReversePath changed to "loose" to align with upstream systemd. If your environment requires strict reverse path filtering, you must now explicitly configure it with networking.firewall.checkReversePath = "strict";.

  • services.photoprism installations that are upgrading to version 260919-28c46a116 or later are advised to migrate their library to take advantage of the newer face detection and embedding models. This can be done by using the photoprism-manage script.

  • healthchecks now natively supports *_FILE options for all secrets, and the prior package experienced breakage related to its manual handling of these secret files, so the manual process was removed and users will need to configure out-of-store secrets through conventional means (e.g. sops, agenix, etc.)