This commit is contained in:
Raphaël Billet
2025-12-04 10:46:18 +01:00
parent 3a5b786b36
commit 0c07311b0d
4 changed files with 113 additions and 55 deletions
+2 -1
View File
@@ -41,8 +41,9 @@
size = "100%";
content = {
type = "luks";
name = "crypted";
name = "crypted-boot-1";
settings = {
keyFile = "/run/secrets/disks/boot-disk-1";
allowDiscards = true;
};
content = {
+4 -3
View File
@@ -22,8 +22,9 @@
size = "100%";
content = {
type = "luks";
name = "nixos-p1";
name = "crypted-boot-1";
settings = {
keyFile = "/run/secrets/disks/boot-disk-2";
allowDiscards = true;
};
};
@@ -41,7 +42,7 @@
size = "100%";
content = {
type = "luks";
name = "nixos-p2";
name = "crypted-boot-2";
settings = {
allowDiscards = true;
};
@@ -49,7 +50,7 @@
type = "btrfs";
extraArgs = [
"-d raid1"
"/dev/mapper/nixos-p1"
"/dev/mapper/crypted-boot-1"
];
subvolumes = {
"/root" = {