mirror of
https://github.com/nix-community/home-manager.git
synced 2026-12-06 04:40:17 +00:00
Standalone agents cannot rely on shell environment variables or Home Manager updating a system-wide certificate bundle. Prefer the system bundle and use cacert from Home Manager's Nixpkgs input only when that path is missing, without modifying system certificates. Use a small native stat predicate to distinguish ENOENT from permission and path errors. Preserve explicit certificate variables, including empty values, and leave nix-darwin's configured bundle selection unchanged. Cover the absence predicate and update affected launchd fixtures for the shared command change.
25 lines
746 B
Plaintext
25 lines
746 B
Plaintext
<?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>
|
|
<dict>
|
|
<key>Crashed</key>
|
|
<true/>
|
|
<key>SuccessfulExit</key>
|
|
<false/>
|
|
</dict>
|
|
<key>Label</key>
|
|
<string>org.nix-community.home.t3code</string>
|
|
<key>ProcessType</key>
|
|
<string>Background</string>
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>/bin/sh</string>
|
|
<string>-c</string>
|
|
<string>/bin/wait4path /nix/store && exec /bin/sh /nix/store/00000000000000000000000000000000-launchd-certificate-environment @t3code@/bin/t3 serve --host 0.0.0.0 --port 3773</string>
|
|
</array>
|
|
<key>RunAtLoad</key>
|
|
<true/>
|
|
</dict>
|
|
</plist> |