---
# Snapper-friendly Btrfs subvolume layout (@ root + @snapshots at /.snapshots).
extraMounts:
- device: proc
  fs: proc
  mountPoint: /proc
- device: sys
  fs: sysfs
  mountPoint: /sys
- device: /dev
  mountPoint: /dev
  options: bind
- device: tmpfs
  fs: tmpfs
  mountPoint: /run
- device: /run/udev
  mountPoint: /run/udev
  options: bind

mountOptions:
- mountPoint: /
  options: defaults,noatime
- mountPoint: "*"
  filesystem: btrfs
  options: defaults,noatime,compress=zstd

btrfsSubvolumes:
- mountPoint: /
  subvolume: /@
- mountPoint: /home
  subvolume: /@home
- mountPoint: /var/cache
  subvolume: /@cache
- mountPoint: /var/log
  subvolume: /@log
- mountPoint: /.snapshots
  subvolume: /@snapshots
