2025-01-01 18:38:46 -05:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
fileSystems = {
|
|
|
|
"/" = {
|
|
|
|
device = "/dev/disk/by-uuid/b8b7ed47-c98c-4a49-af01-b2832dde1287";
|
|
|
|
fsType = "btrfs";
|
2025-01-17 17:06:28 -05:00
|
|
|
options = [ "subvol=root" ];
|
2025-01-01 18:38:46 -05:00
|
|
|
};
|
2025-01-17 17:06:28 -05:00
|
|
|
"/prev" = {
|
2025-01-01 18:38:46 -05:00
|
|
|
device = "/dev/disk/by-uuid/b8b7ed47-c98c-4a49-af01-b2832dde1287";
|
|
|
|
fsType = "btrfs";
|
2025-01-17 17:06:28 -05:00
|
|
|
options = [ "subvol=prev" ];
|
2025-01-01 18:38:46 -05:00
|
|
|
};
|
2025-01-17 17:06:28 -05:00
|
|
|
"/persist" = {
|
|
|
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
2025-01-01 18:38:46 -05:00
|
|
|
fsType = "btrfs";
|
2025-01-17 17:06:28 -05:00
|
|
|
neededForBoot = true;
|
|
|
|
options = [ "subvol=persist" "compress=zstd" ];
|
2025-01-01 18:38:46 -05:00
|
|
|
};
|
2025-01-17 17:06:28 -05:00
|
|
|
"/nix" = {
|
|
|
|
device = "/dev/disk/by-uuid/b8b7ed47-c98c-4a49-af01-b2832dde1287";
|
2025-01-01 18:38:46 -05:00
|
|
|
fsType = "btrfs";
|
2025-01-17 17:06:28 -05:00
|
|
|
options = [ "subvol=nix" ];
|
2025-01-01 18:38:46 -05:00
|
|
|
};
|
|
|
|
"/boot" = {
|
|
|
|
device = "/dev/disk/by-uuid/CD94-1D3F";
|
|
|
|
fsType = "vfat";
|
|
|
|
options = [ "fmask=0022" "dmask=0022" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
# Subvols and bindmounts
|
2025-01-03 18:03:07 -05:00
|
|
|
"/export/KittyNFS" = {
|
2025-01-01 18:38:46 -05:00
|
|
|
depends = [ "/persist" ];
|
2025-01-03 18:03:07 -05:00
|
|
|
device = "/persist/export/KittyNFS";
|
2025-01-01 18:38:46 -05:00
|
|
|
fsType = "none";
|
|
|
|
options = [ "bind" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
swapDevices = [
|
|
|
|
{ device = "/dev/disk/by-uuid/57178cfc-3e71-4d35-8c7f-e355f9dc84df"; }
|
|
|
|
];
|
|
|
|
}
|