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
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