Add scripts for pulling and pushing NixOS configuration updates
This commit is contained in:
parent
eefdbbd932
commit
077ab4ca3c
2 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue