avoid erroring out if no updates available

This commit is contained in:
Emmet
2025-05-03 11:27:15 -05:00
parent f92e905725
commit 00c9e00cbb

View File

@ -136,8 +136,8 @@
echo "running nix flake update";
nix flake update;
${pkgs.git}/bin/git stage *;
${pkgs.git}/bin/git commit -m "Updated system";
${pkgs.git}/bin/git push;
${pkgs.git}/bin/git commit -m "Updated system" || true;
${pkgs.git}/bin/git push || true;
cd ${config.systemSettings.secretsFlakeDir};
${pkgs.git}/bin/git pull;
chown -R 0:0 ${config.systemSettings.dotfilesDir};