fix nextcloud restic premissions

This commit is contained in:
glenn 2024-11-26 12:39:03 +01:00
parent 151fc7a8ab
commit 5207af59d0
3 changed files with 38 additions and 1 deletions

View file

@ -41,6 +41,7 @@ in {
User = "nextcloud";
};
};
users.users.nextcloud.extraGroups = ["backup"];
services = {
restic.backups = {
@ -50,7 +51,7 @@ in {
paths = [
"/pool/var/lib/nextcloud"
];
user = "sondell";
user = "root";
timerConfig.OnCalendar = "02:05";
pruneOpts = [
"--keep-daily 10"