Update scripts to prevent potential network issues
This commit is contained in:
@@ -4,8 +4,8 @@ if [ "$UID" -ne 0 ]; then
|
||||
sudo true # Prompt user for password so it doesn't happen in the middle of the script
|
||||
fi
|
||||
pushd ~/.dotfiles
|
||||
sudo nixos-rebuild switch --flake .#
|
||||
|
||||
hn=$(hostname)
|
||||
home-manager switch --flake .#daniel-$hn
|
||||
|
||||
sudo nixos-rebuild switch --flake .#
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user