Dimaga: fix failing update scripts
This commit is contained in:
parent
5fb5e3387d
commit
72cbbe86da
|
@ -110,7 +110,7 @@ in
|
|||
];
|
||||
|
||||
# Change how long old generations are kept for.
|
||||
retentionPeriod = "monthly";
|
||||
retentionPeriod = "30d";
|
||||
|
||||
services = {
|
||||
acme = {
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue