1
0
Fork 0

Compare commits

...

2 commits

View file

@ -84,10 +84,8 @@ in
cd ${config.secrets.nixConfigFolder}
# Make sure we're up-to-date
git pull --recurse-submodules
nix flake update
git add flake.lock
# Only commit and push if the lock file has changed, otherwise quietly exit
git diff --quiet && git diff --staged --quiet || git commit -am "Update flake.lock" && git push
nix flake update --commit-lock-file
git push
'';
};