launchd: add agent domain option

Allow Darwin LaunchAgents to target either the GUI or user launchd domain while preserving gui as the compatibility default.
This commit is contained in:
Austin Horstman
2026-06-17 20:42:49 -05:00
parent 062581938b
commit dc89b0c0bb
6 changed files with 159 additions and 12 deletions

View File

@@ -14,6 +14,12 @@ This release has the following notable changes:
and `programs.uv.python.prune` / `programs.uv.tool.prune` make the managed set
fully declarative by removing versions and tools that are no longer listed.
- On Darwin, Home Manager launchd agents now support
[](#opt-launchd.agents._name_.domain) to choose either the user's GUI or
background launchd domain. Background services provided by Home Manager now
use the user domain, which allows activations from contexts such as SSH
sessions without requiring an active graphical login session.
## State Version Changes {#sec-release-26.11-state-version-changes}
The state version in this release includes the changes below. These