From 09726fb24b0b6c60d54d50a00788fbc5cbe4c652 Mon Sep 17 00:00:00 2001 From: Shelvacu Date: Fri, 2 May 2025 17:44:19 -0700 Subject: [PATCH] stuff --- prophecy/hardware.nix | 2 +- redo-prop.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prophecy/hardware.nix b/prophecy/hardware.nix index eaadfb5..f8796db 100644 --- a/prophecy/hardware.nix +++ b/prophecy/hardware.nix @@ -14,7 +14,7 @@ in boot.swraid.enable = true; boot.swraid.mdadmConf = '' DEVICE ${lib.concatStringsSep " " raidPartitions} - ARRAY /dev/md/prophecy-root-crypt devices=${lib.concatStringsSep "," raidPartitions} metadata=1.2 UUID=9edfd1b4:0fb7fd0d:4f390f6d:3d176ddf + ARRAY /dev/md/prophecy-root-crypt metadata=1.2 UUID=9edfd1b4:0fb7fd0d:4f390f6d:3d176ddf AUTO -all PROGRAM ${pkgs.coreutils}/bin/echo ''; diff --git a/redo-prop.sh b/redo-prop.sh index 5cefd30..fe99f3c 100755 --- a/redo-prop.sh +++ b/redo-prop.sh @@ -8,5 +8,5 @@ ssh 10.78.79.22 sudo mdadm --manage --stop /dev/md127 ssh 10.78.79.22 sudo mdadm -A --config=new-mdadm.conf --verbose --scan ssh -t 10.78.79.22 sudo cryptsetup open /dev/disk/by-uuid/98cec659-ed09-4e51-bc44-c6264dc680ed prophecy-root-decrypted ssh 10.78.79.22 sed -i "'s: /: /mnt/:'" new-fstab -ssh 10.78.79.22 sudo mount --fstab new-fstab --all --verbose +ssh 10.78.79.22 sudo mount --fstab new-fstab --all --verbose || true ssh 10.78.79.22 sudo nixos-install --flake ./nix-stuff#prophecy --no-root-password