Release 26.11
This is the current unstable branch and the information in this section is therefore not final.
Highlights
This release has the following notable changes:
-
The programs.uv module can now install uv-managed Python versions and tools through the new
programs.uv.python.versions,programs.uv.python.default, andprograms.uv.tool.packagesoptions. Unpinned entries track the latest release on each activation while pinned ones stay put, andprograms.uv.python.prune/programs.uv.tool.prunemake the managed set fully declarative by removing versions and tools that are no longer listed. -
On Darwin, Home Manager launchd agents now support launchd.agents.name.domain to choose either the user’s GUI or background launchd domain. Agents use the GUI domain by default. Set the domain to
userfor agents that should run without an active graphical login session. -
The services.voxtype.enable daemon now starts as part of
graphical-session.targetinstead ofdefault.target. Starting after the compositor owns its GPU render node lets Vulkan-accelerated whisper builds detect their device. Previously, a daemon that started before the render node existed fell back to CPU and never recovered until it was restarted manually. -
XSuspender now uses services.xsuspender.settings for freeform INI configuration. Move
services.xsuspender.defaultstoservices.xsuspender.settings.Defaultandservices.xsuspender.rulestoservices.xsuspender.settings.<name>. Use snake_case keys such assuspend_delayinstead ofsuspendDelay.Deprecated aliases warn and preserve old defaults, including legacy function reads, in legacy sections and
Default. These defaults have option-default priority, so ordinary assignments override them. Settings-only sections inherit fromDefaultat runtime, then use native defaults. To preserve old behavior, setsuspend_delayto 5 andonly_on_batterytofalse, rather than 10 andtrue.Without legacy options, empty settings leave the configuration file unmanaged. If you configured both
services.xsuspender.defaultsandservices.xsuspender.rules.Default, consolidate them underservices.xsuspender.settings.Default. They now merge instead of the rule replacing the entire defaults section. -
Notmuch now uses programs.notmuch.settings for native INI configuration. Deprecated options warn and map to
settings, for examplesearch.excludeTagstosettings.search.exclude_tags. Home Manager no longer writes values notmuch already defaults to (new.tags,new.ignore,maildir.synchronize_flags);new.ignoreorder may differ.programs.notmuch.extraConfigno longer overwrites other definitions. Definitions follow module priorities: forced values win, lists concatenate, and ordinary scalar or string/list collisions fail. Use a list forextraConfig.new.ignorewhen mbsync, lieer, or mujmap contributes patterns.lib.mkForceonextraConfigreplaces definitions in named sections. Section-levellib.mkDefaultloses to sections Home Manager or sync modules define:database,new,search, anduser. Null settings are omitted. -
TWMN now uses services.twmn.settings for freeform INI configuration. Legacy options emit migration warnings. Move native options and
extraConfigvalues intosettings, resolving duplicate definitions. Enabling the service without configuration no longer creates a config file. Settings-only configurations use TWMN’s native defaults; see the option documentation for compatibility limits and preserving previous defaults. -
Move
programs.openstackclient.cloudstoprograms.openstackclient.cloudsSettings.clouds, and moveprograms.openstackclient.publicCloudstoprograms.openstackclient.cloudsPublicSettings.public-clouds. The old options remain as deprecated aliases and emit warnings. -
Astroid now uses programs.astroid.settings for JSON configuration. Move
programs.astroid.extraConfigintosettings; replaceexternalEditor = "command"withsettings.editor.cmd = "command"andsettings.editor.external_editor = "true". Both old options warn; per-accountastroid.extraConfigis unchanged. Home Manager no longer writes a full default configuration; Astroid’s built-in defaults match it excepteditor.markdown_processor, nowcmark. Setsettings.editor.markdown_processor = "marked"to keepmarked. Without astroid accounts or settings, no config file is written.externalEditormerges at ordinary priority: differing ordinary editor keys conflict;lib.mkForcewins. Priorities onextraConfigsections apply as a unit.lib.mkForceon such a section drops its generated keys;lib.mkDefaultloses for sections Home Manager defines. Prefer per-key priorities. Replacing a generated section with a non-object value requireslib.mkForce. -
Grobi now uses services.grobi.settings for its complete JSON configuration. Move
services.grobi.executeAftertoservices.grobi.settings.execute_afterandservices.grobi.rulestoservices.grobi.settings.rules. The deprecated aliases preserve list order and definition priorities. The generated JSON is now pretty-printed. -
Borgmatic backups now use programs.borgmatic.backups.name.settings for native YAML settings. Deprecated options warn with the backup name and move to their snake_case keys, such as
retention.keepDailytosettings.keep_daily. Repository strings become{ path = "..."; }, and each section’sextraConfigmoves directly intosettings.location.excludeHomeManagerSymlinksremains available.Legacy configurations without overlapping keys keep their generated YAML, except that null check frequencies are now omitted. Overlapping
extraConfigkeys no longer take the last section’s value. Distinct scalars at the same priority conflict and lists concatenate, so resolve overlaps insettings. Backups no longer need exactly one ofsourceDirectoriesandpatterns, which allows native patterns and database-only backups.repositoriesis still required. -
programs.github-copilot-cli.settings is now written to
settings.jsoninstead ofconfig.json, since Copilot CLI 1.0.35 and later keep user settings there and replace a linkedconfig.json. The old link is removed on activation if it still points to a Home Manager generation; a regular state file is left alone. If Copilot CLI already created a regularsettings.jsonfrom the oldconfig.json, remove it before switching or enable programs.github-copilot-cli.mutableSettings to merge into it. With nonempty immutable settings, byte-identical files become managed links; differing files use normal collision and backup handling. Trusted folders insettingsare no longer written, because Copilot CLI keeps them in its own state; declare them with programs.github-copilot-cli.trustedFolders instead.
State Version Changes
The state version in this release includes the changes below. These
changes are only active if the home.stateVersion option is set to
“26.11” or later.
-
On Darwin, the default value of programs.firefox.configPath changes from
Library/Application Support/FirefoxtoLibrary/Application Support/org.nixos.firefoxwhenprograms.firefox.packageis notnull. ExplicitconfigPathvalues remain unchanged. Users with ahome.stateVersionearlier than"26.11"should setprograms.firefox.configPath = "Library/Application Support/org.nixos.firefox";explicitly. Before changingconfigPath, quit Firefox and move your data from~/Library/Application Support/Firefoxto~/Library/Application Support/org.nixos.firefox. -
From
home.stateVersion = "26.11", notmuch no longer defaultssearch.exclude_tagstodeleted;spam, and it setsdatabase.pathonly when an email account is enabled. Earlier versions keep both defaults. To retain them when upgrading, setprograms.notmuch.settings.search.exclude_tags = [ "deleted" "spam" ];and, without email accounts, setprograms.notmuch.settings.database.pathto the mail directory, previouslyaccounts.email.maildirBasePath. -
The KDL options under
programs.zellijwill now correctly escape backslashes in string values. For example, the Nix string"\\"will now correctly generate the KDL string"\\". Previously, this would have generated"\", which is invalid KDL. The following options are affected:programs.zellij.settingsprograms.zellij.themesprograms.zellij.layouts
-
The KDL options under
programs.zellijwill now escape tabs in string values. For example, the Nix string"\t"(corresponding to a single tab) will now generate the KDL string"\t". Previously, this would have generated"<tab>"(where<tab>denotes a literal tab character). The following options are affected:programs.zellij.settingsprograms.zellij.themesprograms.zellij.layouts