add swap device
This commit is contained in:
parent
e308d97249
commit
eb8fbe1bfc
1 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
config = {
|
||||
boot.initrd.luks.devices."cryptroot".device = "/dev/disk-by-uuid/";
|
||||
boot.initrd.luks.devices."cryptroot".device = "/dev/disk-by-uuid/";
|
||||
fileSystems = {
|
||||
"/boot" = {
|
||||
device = "";
|
||||
|
@ -28,6 +28,12 @@
|
|||
fsType = "btrfs";
|
||||
options = ["subvol=home" "compress=zstd" "noatime"];
|
||||
};
|
||||
"/swap" = {
|
||||
device = "";
|
||||
fsType = "btrfs";
|
||||
|
||||
options = ["subvol=swap" "compress=lzo" "noatime"];
|
||||
};
|
||||
};
|
||||
swapDevices = [
|
||||
{device = "";}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue