add swap device

This commit is contained in:
Charlie Root 2024-09-20 16:11:53 +02:00
commit eb8fbe1bfc

View file

@ -28,6 +28,12 @@
fsType = "btrfs"; fsType = "btrfs";
options = ["subvol=home" "compress=zstd" "noatime"]; options = ["subvol=home" "compress=zstd" "noatime"];
}; };
"/swap" = {
device = "";
fsType = "btrfs";
options = ["subvol=swap" "compress=lzo" "noatime"];
};
}; };
swapDevices = [ swapDevices = [
{device = "";} {device = "";}