simplify borg client module

This commit is contained in:
Yan Lin 2025-12-07 02:58:07 +01:00
parent c1f04d030d
commit d79b60ce5b
3 changed files with 42 additions and 182 deletions

View file

@ -255,14 +255,6 @@
keepMonthly = 6;
keepYearly = 2;
};
passphraseFile = "/etc/borg-passphrase";
preHook = ''
echo "$(date): Starting Borg backup of ${config.networking.hostName}"
'';
postHook = ''
echo "$(date): Borg backup of ${config.networking.hostName} completed successfully"
'';
};
}

View file

@ -261,14 +261,6 @@
keepMonthly = 6;
keepYearly = 2;
};
passphraseFile = "/etc/borg-passphrase";
preHook = ''
echo "$(date): Starting Borg backup of ${config.networking.hostName}"
'';
postHook = ''
echo "$(date): Borg backup of ${config.networking.hostName} completed successfully"
'';
};
}