updated sp.sh

This commit is contained in:
naturallaw77 2023-07-14 23:36:36 -07:00
parent 0bcc2176a2
commit ae2f22db46

View File

@ -104,8 +104,14 @@ EOT
# #
pushd /etc/nixos
nix flake update
nixos-rebuild switch --impure nixos-rebuild switch --impure
popd
# #
mkdir /root/.ssh/agenix mkdir /root/.ssh/agenix
@ -157,8 +163,14 @@ popd
# #
pushd /etc/nixos
nix flake update
nixos-rebuild switch --impure nixos-rebuild switch --impure
popd
# #
chown root:root /var/lib/secrets/main -R chown root:root /var/lib/secrets/main -R
@ -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 chmod 770 /run/media/Second_Drive/BTCEcoandBackup/Electrs_Data -R
#
pushd /etc/nixos
nix flake update
nixos-rebuild switch --impure nixos-rebuild switch --impure
popd
# #