nixos-config/config/services/restic.nix

12 lines
278 B
Nix
Raw Normal View History

2022-01-15 17:08:47 +00:00
{ ... }: {
services.restic.backups."sysbackup" = {
passwordFile = "/run/secrets/security/restic/password";
paths = [
"/var"
"/home"
];
repository = "sftp:darkkirb@backup.int.chir.rs:/backup";
2022-01-15 17:08:47 +00:00
};
sops.secrets."security/restic/password" = { };
2022-01-15 17:08:47 +00:00
}