2.home-manager/tests/modules/services/proton-pass-agent/basic-service-expected.plist
Austin Horstman 2f3da3d45f launchd: fix user domain agents
User-domain agents need the Background session type to bootstrap into user/501, and activation should fail rather than silently unloading services when launchctl bootstrap fails.
2026-06-30 23:39:07 -05:00

26 lines
No EOL
1,011 B
Text

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>org.nix-community.home.proton-pass-agent</string>
<key>LimitLoadToSessionType</key>
<string>Background</string>
<key>ProcessType</key>
<string>Background</string>
<key>ProgramArguments</key>
<array>
<string>/bin/sh</string>
<string>-c</string>
<string>/bin/wait4path /nix/store &amp;&amp; exec @bash-interactive@/bin/bash -c &apos;@proton-pass-cli@/bin/pass-cli ssh-agent start --socket-path $(@system_cmds@/bin/getconf DARWIN_USER_TEMP_DIR)/proton-pass-agent/socket&apos;</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/home/hm-user/Library/Logs/Proton Pass CLI/ssh-agent-stderr.log</string>
<key>StandardOutPath</key>
<string>/home/hm-user/Library/Logs/Proton Pass CLI/ssh-agent-stdout.log</string>
</dict>
</plist>