{ ... }: { fileSystems."/" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=root" "compress=zstd" "noatime" ]; }; fileSystems."/nix" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=nix" "compress=zstd" "noatime" ]; }; fileSystems."/var/log" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=log" "compress=zstd" "noatime" ]; neededForBoot = true; }; fileSystems."/nix/persist" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=persist" "compress=zstd" "noatime" ]; neededForBoot = true; }; fileSystems."/boot" = { device = "/dev/disk/by-partlabel/boot"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; fileSystems."/home" = { device = "/dev/mapper/cryptroot"; fsType = "btrfs"; options = [ "subvol=home" "compress=zstd" "noatime" ]; neededForBoot = true; }; swapDevices = [{ device = "/swapfile"; size = 16 * 1024; }]; }