This repository has been archived on 2023-05-20. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-config/update.sh

10 lines
112 B
Bash
Raw Normal View History

2023-04-16 20:25:58 +02:00
#!/usr/bin/env sh
set -euo pipefail
2023-04-16 20:34:42 +02:00
git fetch -a
git reset --hard
git clean -fd
git pull
nixos-rebuild switch