mirror of
https://github.com/nix-community/home-manager.git
synced 2026-12-06 04:40:17 +00:00
Shell session variables do not reach launchd agents, leaving programs that honor NIX_SSL_CERT_FILE on their fallback trust bundle. Pass the selected nix-darwin bundle through a shared POSIX wrapper only when neither certificate variable is set. Preserve explicit and inherited values, including empty ones, custom launcher interpreters, and the wait-for-store ordering. Prefer security.pki.environment when available so agents also receive nix-darwin's filtered fallback when system certificate installation is disabled. Retain the environment.variables lookup for older versions. Cover both launch modes, fish launchers, certificate overrides, and unconfigured hosts in the existing launchd tests.
17 lines
517 B
Plaintext
17 lines
517 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>EnvironmentVariables</key>
|
|
<dict>
|
|
<key>SSL_CERT_FILE</key>
|
|
<string>/agent/ssl.pem</string>
|
|
</dict>
|
|
<key>Label</key>
|
|
<string>org.nix-community.home.ca-explicit</string>
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>/nix/store/00000000000000000000000000000000-ca-explicit/bin/ca-explicit</string>
|
|
</array>
|
|
</dict>
|
|
</plist> |