add 'git add .'

Former-commit-id: 8dc339f0cc
This commit is contained in:
Hadi
2025-03-31 13:46:44 +02:00
parent a90a77a29d
commit 8136b19187

View File

@@ -51,7 +51,7 @@ let
[[ $1 == "" ]] && ui
if [[ $1 == "rebuild" ]];then
sudo nixos-rebuild switch --flake ${configDirectory}#${hostname}
git add . && sudo nixos-rebuild switch --flake ${configDirectory}#${hostname}
elif [[ $1 == "upgrade" ]];then
sudo nixos-rebuild switch --upgrade --flake '${configDirectory}#${hostname}'
elif [[ $1 == "update" ]];then