commit cb0d300c4e3fd9d969abd3af46d22d969760f68d
parent 310268a59c39dd568a88411859909c985f6d6b28
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 21 Nov 2023 20:51:33 +0100
parent 310268a59c39dd568a88411859909c985f6d6b28
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 21 Nov 2023 20:51:33 +0100
configgurations/programs/scripts(backupToSSD): update UUID for backup disk
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configurations/common/programs/scripts.nix b/configurations/common/programs/scripts.nix @@ -59,7 +59,7 @@ let fi # check for disk - if [ ! -e /dev/disk/by-uuid/635a0d41-b702-45d6-8aff-605d11da343c ]; then + if [ ! -e /dev/disk/by-uuid/f5e319eb-a68b-4b21-9154-73404acb8bd1 ]; then echo "Backup drive is not connected!"; exit; fi @@ -69,7 +69,7 @@ let printStep "Mount backup-drive!" mkdir -p /mnt/backup; - ${pkgs.cryptsetup}/bin/cryptsetup luksOpen /dev/disk/by-uuid/635a0d41-b702-45d6-8aff-605d11da343c backup; + ${pkgs.cryptsetup}/bin/cryptsetup luksOpen /dev/disk/by-uuid/f5e319eb-a68b-4b21-9154-73404acb8bd1 backup; mount /dev/mapper/backup /mnt/backup; printEnd;