diff --git a/update.sh b/update.sh index da93462..dcca395 100755 --- a/update.sh +++ b/update.sh @@ -1,6 +1,7 @@ #!/usr/bin/env sh set -euo pipefail -curl -O https://gitea.exu.li/RealStickman/nixos-config/raw/branch/main/configuration.nix -curl -O https://gitea.exu.li/RealStickman/nixos-config/raw/branch/main/home-manager.nix -curl -O https://gitea.exu.li/RealStickman/nixos-config/raw/branch/main/system-packages.nix +git fetch -a +git reset --hard +git clean -fd +git pull