stuff
This commit is contained in:
@@ -14,7 +14,7 @@ in
|
|||||||
boot.swraid.enable = true;
|
boot.swraid.enable = true;
|
||||||
boot.swraid.mdadmConf = ''
|
boot.swraid.mdadmConf = ''
|
||||||
DEVICE ${lib.concatStringsSep " " raidPartitions}
|
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
|
AUTO -all
|
||||||
PROGRAM ${pkgs.coreutils}/bin/echo
|
PROGRAM ${pkgs.coreutils}/bin/echo
|
||||||
'';
|
'';
|
||||||
|
@@ -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 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 -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 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
|
ssh 10.78.79.22 sudo nixos-install --flake ./nix-stuff#prophecy --no-root-password
|
||||||
|
Reference in New Issue
Block a user