Use git to update configs

This commit is contained in:
RealStickman 2023-04-16 20:34:42 +02:00
parent 0ed7924ff2
commit bf62d5657a

View File

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