This commit is contained in:
iFargle 2024-02-02 12:31:20 +09:00
parent 9065907696
commit 024eecbb4d

View file

@ -66,19 +66,17 @@
}; # content }; # content
} # partition 2 (/ BTRFS) } # partition 2 (/ BTRFS)
{ {
name = "LUKS-SWAP"; name = "SWAP";
start = "-64GiB"; start = "-64GiB";
end = "100%"; end = "100%";
content = { content = {
type = "luks"; type = "luks";
name = "SWAP";
settings = { settings = {
keyFile = "/tmp/swap.key"; keyFile = "/tmp/swap.key";
allowDiscards = true; allowDiscards = true;
}; };
content = { content = {
type = "swap"; type = "swap";
randomEncryption = false;
resumeDevice = true; # Hibernation resumeDevice = true; # Hibernation
}; };
}; };