1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 06:21:14 +02:00

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.
This commit is contained in:
John Soo 2021-11-30 15:33:15 -08:00
parent 5d959b33c5
commit bfbc0c60cc
No known key found for this signature in database
GPG key ID: D8A148F8CE4DDBC2
2 changed files with 12 additions and 6 deletions

View file

@ -13,14 +13,12 @@
<string>org.nixos.nix-daemon</string>
<key>KeepAlive</key>
<dict>
<key>PathState</key>
<key>OtherJobEnabled</key>
<dict>
<key>/nix/var/nix/profiles/default/bin/nix-daemon</key>
<true/>
<key>org.nixos.darwin-store</key>
<false/>
</dict>
</dict>
<key>RunAtLoad</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/nix/var/nix/profiles/default/bin/nix-daemon</string>