modeled after misterio's config.
boot partition
- Label: "BOOT"
- optional with "boot-partition.nix"
- type: vfat
luks2 partition
- Label: "system_crypt"
- contains: btrfs partition
- Label: "system_partition"
- subvolumes:
- "${hostname}"
- "root": blank subvolume; mountpoint: "/"
- "root-blank": readonly snapshot of "root"; not mounted
- "nix": mountpoint: "/nix"
- "backed_up": persistent and backed up data; mountpoint: "/backed_up"
- "persist": persistent data; mountpoint: "/persist"
- "swap": optional with "btrfs-swapfile.nix"; mountpoint: "/swap"; contains: "swapfile" swapfile
- "${hostname}"
To run my neovim config use nix run .#nixvim