1
0
Fork 0

Dimaga: fix failing update scripts

This commit is contained in:
Aires 2024-08-05 10:07:39 -04:00
parent 5fb5e3387d
commit 72cbbe86da
2 changed files with 4 additions and 4 deletions

View file

@ -110,7 +110,7 @@ in
];
# Change how long old generations are kept for.
retentionPeriod = "monthly";
retentionPeriod = "30d";
services = {
acme = {

View file

@ -99,9 +99,9 @@ in
cd ${cfg.configDir}
# Make sure we're up-to-date
echo "Pulling the latest version..."
git pull --recurse-submodules
nix flake update --commit-lock-file
git push
sudo -u ${cfg.user} git pull --recurse-submodules
sudo -u ${cfg.user} nix flake update --commit-lock-file
sudo -u ${cfg.user} git push
'';
};