the_prg_server_configuratio.../nix-system-configs/traefik/push.zsh

7 lines
291 B
Bash

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