update some disk config

This commit is contained in:
ulic-youthlic 2025-01-22 16:06:47 +08:00
parent af4ce0ed12
commit 6341c0b09e
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -31,9 +31,6 @@
settings = { settings = {
allowDiscards = true; allowDiscards = true;
fallbackToPassword = true; fallbackToPassword = true;
# keyFile = "/dev/disk/by-label/LUKS_DECR";
# keyFileSize = 512 * 64;
# keyFileOffset = 512 * 192;
}; };
initrdUnlock = true; initrdUnlock = true;
extraFormatArgs = [ extraFormatArgs = [
@ -68,9 +65,6 @@
settings = { settings = {
allowDiscards = true; allowDiscards = true;
fallbackToPassword = true; fallbackToPassword = true;
# keyFile = "/dev/disk/by-label/LUKS_DECR";
# keyFileSize = 512 * 64;
# keyFileOffset = 512 * 192;
}; };
initrdUnlock = true; initrdUnlock = true;
extraFormatArgs = [ extraFormatArgs = [
@ -89,7 +83,6 @@
type = "btrfs"; type = "btrfs";
extraArgs = [ extraArgs = [
"-f" "-f"
"-m dup"
"-d raid0" "-d raid0"
"/dev/mapper/crypto1" "/dev/mapper/crypto1"
]; ];
@ -116,10 +109,8 @@
]; ];
}; };
"@swap" = { "@swap" = {
mountpoint = "/swap"; mountpoint = "/.swapvol";
swap = { swap.swapfile.size = "32G";
swapfile.size = "32G";
};
}; };
}; };
}; };