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