Try to get automatic disk unlocking

This commit is contained in:
Raphaël Numbus
2026-01-02 22:11:23 +01:00
parent d90a1af7d3
commit ba19448f53
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -9,7 +9,11 @@
content = {
type = "luks";
name = "crypted-content-${j}";
settings.keyFile = "/etc/secrets/disks/content-disk-${j}";
initrdUnlock = false;
settings = {
keyFile = "/etc/secrets/disks/content-disk-${j}";
allowDiscards = true;
};
content = {
type = "filesystem";
format = "xfs";
+5 -1
View File
@@ -9,7 +9,11 @@
content = {
type = "luks";
name = "crypted-parity-${j}";
settings.keyFile = "/etc/secrets/disks/parity-disk-${j}";
initrdUnlock = false;
settings = {
keyFile = "/etc/secrets/disks/parity-disk-${j}";
allowDiscards = true;
};
content = {
type = "filesystem";
format = "xfs";