From ae2f22db4627c5e26529bfedb068c7db679a142e Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Fri, 14 Jul 2023 23:36:36 -0700 Subject: [PATCH] updated sp.sh --- for_new_sovran_pros/sp.sh | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/for_new_sovran_pros/sp.sh b/for_new_sovran_pros/sp.sh index 3d824dd..087612a 100644 --- a/for_new_sovran_pros/sp.sh +++ b/for_new_sovran_pros/sp.sh @@ -104,7 +104,13 @@ EOT # -nixos-rebuild switch --impure +pushd /etc/nixos + + nix flake update + + nixos-rebuild switch --impure + +popd # @@ -157,7 +163,13 @@ popd # -nixos-rebuild switch --impure +pushd /etc/nixos + + nix flake update + + nixos-rebuild switch --impure + +popd # @@ -287,8 +299,15 @@ chown electrs:electrs /run/media/Second_Drive/BTCEcoandBackup/Electrs_Data -R chmod 770 /run/media/Second_Drive/BTCEcoandBackup/Electrs_Data -R -nixos-rebuild switch --impure +# +pushd /etc/nixos + + nix flake update + + nixos-rebuild switch --impure + +popd #