feat(dreadnought): add hdd disk configuration

This commit is contained in:
Guz
2026-05-01 19:30:27 -03:00
parent 3855147baf
commit d5af3b3377

View File

@@ -64,6 +64,32 @@
};
};
};
disk.storage = {
type = "disk";
device = "/dev/sda";
content = {
type = "gpt";
partitions.luks = {
size = "100%";
label = "luks";
content = {
type = "luks";
name = "cryptstorage";
extraOpenArgs = [
"--allow-discards"
"--perf-no_read_workqueue"
"--perf-no_write_workqueue"
];
settings = {crypttabExtraOpts = ["fido2-device=auto" "token-timeout=10"];};
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
fileSystems."/persist".neededForBoot = true;