1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 00:11:17 +02:00
nix/misc/launchd/org.nixos.nix-daemon.plist.in
John Soo bfbc0c60cc
darwin-store: Ensure NIX_ROOT is mounted after reboot.
When a darwin host is rebooted, /nix was not mounted.  Let the daemon
also wait until the store mounting service is finished.
2021-11-30 18:04:00 -08:00

31 lines
942 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnvironmentVariables</key>
<dict>
<key>NIX_SSL_CERT_FILE</key>
<string>/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt</string>
<key>OBJC_DISABLE_INITIALIZE_FORK_SAFETY</key>
<string>YES</string>
</dict>
<key>Label</key>
<string>org.nixos.nix-daemon</string>
<key>KeepAlive</key>
<dict>
<key>OtherJobEnabled</key>
<dict>
<key>org.nixos.darwin-store</key>
<false/>
</dict>
</dict>
<key>ProgramArguments</key>
<array>
<string>/nix/var/nix/profiles/default/bin/nix-daemon</string>
</array>
<key>StandardErrorPath</key>
<string>/var/log/nix-daemon.log</string>
<key>StandardOutPath</key>
<string>/dev/null</string>
</dict>
</plist>