update updater script

This commit is contained in:
naturallaw77 2024-03-13 20:18:43 -07:00
parent e6968c3018
commit 3ba451f1e3

View File

@ -28,6 +28,7 @@ if ! ssh root@localhost 'cd /etc/nixos && nix flake update' ; then
exit 1 exit 1
fi
if ! ssh root@localhost 'nixos-rebuild dry-activate --impure' ; then if ! ssh root@localhost 'nixos-rebuild dry-activate --impure' ; then
@ -39,6 +40,8 @@ if ! ssh root@localhost 'nixos-rebuild dry-activate --impure' ; then
exit 1 exit 1
fi
if ! ssh root@localhost 'nixos-rebuild switch --impure &> /home/free/Documents/Updater_App_Logs/'$time_stamp'_Updater_Log.txt' ; then if ! ssh root@localhost 'nixos-rebuild switch --impure &> /home/free/Documents/Updater_App_Logs/'$time_stamp'_Updater_Log.txt' ; then