Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am astutecat on github.
  • I am astutecat (https://keybase.io/astutecat) on keybase.
  • I have a public key whose fingerprint is D4F5 3394 F911 4E9F 6D72 4E18 5324 93B3 EC55 867D

To claim this, I am signing this object:

@astutecat
astutecat / create-darwin-volume.sh
Last active September 16, 2024 12:44
Notes on setting up Nix on MacOS.
#!/bin/sh
set -e
root_disk() {
diskutil info -plist /
}
apfs_volumes_for() {
disk=$1
diskutil apfs list -plist "$disk"