mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +05:30
avoid erroring out if no updates available
This commit is contained in:
parent
f92e905725
commit
00c9e00cbb
1 changed files with 2 additions and 2 deletions
|
@ -136,8 +136,8 @@
|
||||||
echo "running nix flake update";
|
echo "running nix flake update";
|
||||||
nix flake update;
|
nix flake update;
|
||||||
${pkgs.git}/bin/git stage *;
|
${pkgs.git}/bin/git stage *;
|
||||||
${pkgs.git}/bin/git commit -m "Updated system";
|
${pkgs.git}/bin/git commit -m "Updated system" || true;
|
||||||
${pkgs.git}/bin/git push;
|
${pkgs.git}/bin/git push || true;
|
||||||
cd ${config.systemSettings.secretsFlakeDir};
|
cd ${config.systemSettings.secretsFlakeDir};
|
||||||
${pkgs.git}/bin/git pull;
|
${pkgs.git}/bin/git pull;
|
||||||
chown -R 0:0 ${config.systemSettings.dotfilesDir};
|
chown -R 0:0 ${config.systemSettings.dotfilesDir};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue