chore: Finalize updating.

This commit is contained in:
greysoh 2024-07-19 14:21:48 -04:00
parent 431e9fd706
commit 254658dfca
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
2 changed files with 6 additions and 6 deletions

View file

@ -12,5 +12,9 @@ if [[ "$UID" != "0" ]]; then
exit $?
fi
pushd /etc/nixos 2> /dev/null > /dev/null
git pull
popd 2> /dev/null > /dev/null
export NIX_PATH="$(printf $NIX_PATH | sed --expression="s#/etc/nixos/configuration.nix#/etc/nixos/nixinfra/$NIX_BUILD_ID.nix#g")"
nixos-rebuild switch --upgrade