TEST
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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" = {
|
||||
|
||||
Reference in New Issue
Block a user