activate backup to new location

This commit is contained in:
Tim Schubert 2023-06-18 18:53:36 +02:00
parent 57d04d981f
commit f40634e545
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 39 additions and 0 deletions

View file

@ -9,6 +9,12 @@ in
sshIdentityFile = config.age.secrets."${config.networking.hostName}-backup-ssh-key".path;
};
dadada.backupClient.backup1 = {
enable = lib.mkDefault true;
passphrasePath = config.age.secrets."${config.networking.hostName}-backup-passphrase".path;
sshIdentityFile = config.age.secrets."${config.networking.hostName}-backup-ssh-key".path;
};
age.secrets."${config.networking.hostName}-backup-passphrase".file = "${secretsPath}/${config.networking.hostName}-backup-passphrase.age";
age.secrets."${config.networking.hostName}-backup-ssh-key".file = "${secretsPath}/${config.networking.hostName}-backup-ssh-key.age";
}