nixos: init vanadium by cloning carbon

This commit is contained in:
Primrose 2024-12-28 22:12:18 +01:00
parent 96340f2e08
commit dcadddad3a
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
21 changed files with 1335 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{ config, ... }:
{
services.restic.backups."Documents-backblaze" = {
paths = [
"/home/leana/Documents"
"/home/leana/Calibre"
];
passwordFile = config.age.secrets.restic_backblaze_pwd.path;
repositoryFile = config.age.secrets.restic_backblaze_repo.path;
environmentFile = config.age.secrets.restic_backblaze_env.path;
pruneOpts = [
"--keep-daily 7"
"--keep-weekly 4"
"--keep-monthly 12"
"--keep-yearly 10"
];
};
}