This commit is contained in:
iFargle 2024-02-02 15:49:19 +09:00
parent 024eecbb4d
commit caf2f287bf

View file

@ -25,7 +25,7 @@
}; };
} # partition 1 (ESP) } # partition 1 (ESP)
{ {
name = "LUKS"; name = "LUKS-ROOT";
start = "550MiB"; start = "550MiB";
end = "-64GiB"; end = "-64GiB";
content = { content = {
@ -66,11 +66,12 @@
}; # content }; # content
} # partition 2 (/ BTRFS) } # partition 2 (/ BTRFS)
{ {
name = "SWAP"; name = "LUKS-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;