11 lines
278 B
Nix
11 lines
278 B
Nix
{ ... }: {
|
|
services.restic.backups."sysbackup" = {
|
|
passwordFile = "/run/secrets/security/restic/password";
|
|
paths = [
|
|
"/var"
|
|
"/home"
|
|
];
|
|
repository = "sftp:darkkirb@backup.int.chir.rs:/backup";
|
|
};
|
|
sops.secrets."security/restic/password" = { };
|
|
}
|