Skip to content

Instantly share code, notes, and snippets.

@grahamc
Last active May 9, 2021 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/126b1a28d50d99db315fb5b6fce551c7 to your computer and use it in GitHub Desktop.
Save grahamc/126b1a28d50d99db315fb5b6fce551c7 to your computer and use it in GitHub Desktop.
Dont delete this, I refer to it in some docs.
<?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>Label</key>
<string>org.nixos.bootup</string>
<key>ProgramArguments</key>
<array>
<string>bash</string>
<string>/var/root/apply.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartOnMount</key>
<true/>
</dict>
</plist>
<?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>Label</key>
<string>org.nixos.bootup</string>
<key>ProgramArguments</key>
<array>
<string>bash</string>
<string>/Volumes/CONFIG/apply.sh</string>
</array>
<key>StandardOutPath</key>
<string>/tmp/apply.stdout</string>
<key>StandardErrorPath</key>
<string>/tmp/apply.stderr</string>
<key>RunAtLoad</key>
<true/>
<key>StartOnMount</key>
<true/>
</dict>
</plist>
@risicle
Copy link

risicle commented May 9, 2021

I'm not sure what sort of setup the catalina---... configuration is intended for, but it's certainly not the one listed at https://github.com/NixOS/nixos-org-configurations/blob/master/macs/notes.md. For that, the high-sierra---... one works fine for me on catalina.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment