From 490fa704b8625aa5e475625feb830d35caf8d2c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Numbus?= Date: Sun, 25 Jan 2026 10:24:33 +0100 Subject: [PATCH] Typo in mirror.nix --- templates/nix-config/disks/mirror.nix | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/templates/nix-config/disks/mirror.nix b/templates/nix-config/disks/mirror.nix index 5e79b32..fb2a697 100644 --- a/templates/nix-config/disks/mirror.nix +++ b/templates/nix-config/disks/mirror.nix @@ -30,19 +30,18 @@ }; }; }; - mdadm = { - raid1 = { - type = "mdadm"; - level = 1; + mdadm = { + raid1 = { + type = "mdadm"; + level = 1; + content = { + type = "luks"; + name = "crypted-mirror"; + settings.keyFile = "/etc/secrets/disks/mirror"; content = { - type = "luks"; - name = "crypted-mirror"; - settings.keyFile = "/etc/secrets/disks/mirror"; - content = { - type = "filesystem"; - format = "xfs"; - mountpoint = "/mnt/data"; - }; + type = "filesystem"; + format = "xfs"; + mountpoint = "/mnt/data"; }; }; };