Add scripts for pulling and pushing NixOS configuration updates

This commit is contained in:
Root User 2026-02-06 13:43:49 +01:00
parent eefdbbd932
commit 077ab4ca3c
Signed by: root
GPG key ID: 087F0A95E5766D72
2 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,7 @@
sudo nixos-rebuild switch --upgrade-all
git pull
sudo cp /etc/nixos/configuration.nix forgejo-localconfig.nix
git add forgejo-localconfig.nix
git commit . -m "Update Configration from machine"
## Be sure to add timestamp to the commit message to ensure when it was hecked up
git commit . -m "Update local Nix Config $(date)"
git push