14 lines
325 B
Nix
14 lines
325 B
Nix
_: {
|
|
services.restic.backups."sysbackup" = {
|
|
passwordFile = "/run/secrets/security/restic/password";
|
|
paths = [
|
|
"/var"
|
|
"/home"
|
|
];
|
|
extraBackupArgs = [
|
|
"--exclude-caches"
|
|
];
|
|
repository = "sftp:backup@backup.int.chir.rs:/backup";
|
|
};
|
|
sops.secrets."security/restic/password" = {};
|
|
}
|