vm subvol

This commit is contained in:
twoneis 2024-07-23 01:03:12 +02:00
parent add3fca3bc
commit a8b73e9858

View file

@ -48,6 +48,12 @@ in {
options = [ "subvol=nix" "compress=zstd" "noatime" ]; options = [ "subvol=nix" "compress=zstd" "noatime" ];
neededForBoot = true; neededForBoot = true;
}; };
"/vm" = {
device = "/dev/disk/by-uuid/${config.disks.root}";
fsType = "btrfs";
options = [ "subvol=vm" "compress=zstd" "noatime" ];
neededForBoot = true;
};
"/persist" = { "/persist" = {
device = "/dev/disk/by-uuid/${config.disks.root}"; device = "/dev/disk/by-uuid/${config.disks.root}";
fsType = "btrfs"; fsType = "btrfs";