Use git to update configs

This commit is contained in:
RealStickman 2023-04-16 20:34:42 +02:00
parent 22cfbb58f7
commit 4bc75feb97

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