nixos/update.sh
2024-08-26 12:52:18 -06:00

12 lines
185 B
Bash
Executable File

#!/run/current-system/sw/bin/bash
#GIT
git pull
# Update NixOS system configuration
nixos-rebuild switch --flake .
# Update Home Manager configuration
home-manager switch --flake .