vps-arm-2024-11-22-19-23-45
This commit is contained in:
@ -317,20 +317,31 @@ in {
|
|||||||
mode = "repokey-blake2";
|
mode = "repokey-blake2";
|
||||||
passCommand = "cat ${config.sops.secrets.borg-key.path}";
|
passCommand = "cat ${config.sops.secrets.borg-key.path}";
|
||||||
};
|
};
|
||||||
extraCreateArgs = "--stats --verbose --checkpoint-interval 600 --exclude-caches";
|
extraCreateArgs = "--stats --verbose --checkpoint-interval=600 --exclude-caches";
|
||||||
environment.BORG_RSH = "ssh -i /home/alex/.ssh/id_borg_rsa";
|
extraPruneArgs = [
|
||||||
|
"--save-space"
|
||||||
|
"--stats"
|
||||||
|
];
|
||||||
|
extraCompactArgs = [
|
||||||
|
"--cleanup-commits"
|
||||||
|
];
|
||||||
|
environment = {
|
||||||
|
BORG_RSH = "ssh -i /home/alex/.ssh/id_borg_rsa";
|
||||||
|
BORG_BASE_DIR = "/persist/borg";
|
||||||
|
};
|
||||||
|
readWritePaths = ["/persist/borg"];
|
||||||
paths = ["/home/alex" "/persist"];
|
paths = ["/home/alex" "/persist"];
|
||||||
repo = "ssh://u278697-sub3@u278697.your-storagebox.de:23/./borg-arm";
|
repo = "ssh://u278697-sub3@u278697.your-storagebox.de:23/./borg-arm";
|
||||||
startAt = "daily";
|
startAt = "daily";
|
||||||
prune.keep = {
|
prune.keep = {
|
||||||
daily = 4;
|
daily = 7;
|
||||||
weekly = 2;
|
weekly = 4;
|
||||||
monthly = 2;
|
monthly = 6;
|
||||||
};
|
};
|
||||||
extraPruneArgs = "--save-space --stats";
|
|
||||||
exclude = [
|
exclude = [
|
||||||
"/home/alex/mounted"
|
"/home/alex/mounted"
|
||||||
"/home/alex/.cache"
|
"/home/alex/.cache"
|
||||||
|
"/persist/borg"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
enable = false;
|
enable = true;
|
||||||
hostName = "nextcloud.szczepan.ski";
|
hostName = "nextcloud.szczepan.ski";
|
||||||
|
|
||||||
# Need to manually increment with every major upgrade.
|
# Need to manually increment with every major upgrade.
|
||||||
|
Reference in New Issue
Block a user