fix: enable backup1

This commit is contained in:
Tim Schubert 2024-12-08 13:03:45 +01:00
parent fc4521750d
commit 4e44dc164a
Signed by: dadada
SSH key fingerprint: SHA256:bFAjFH3hR8zRBaJjzQDjc3o4jqoq5EZ87l+KXEjxIz0
2 changed files with 2 additions and 2 deletions

View file

@ -156,7 +156,7 @@ in
};
};
services.borgbackup.jobs.backup1 = mkIf cfg.bs.enable {
services.borgbackup.jobs.backup1 = mkIf cfg.backup1.enable {
paths = "/";
exclude = backupExcludes;
repo = "borg@backup1.dadada.li:/mnt/storage/backups/${config.networking.hostName}";

View file

@ -4,7 +4,7 @@ let
in
{
dadada.backupClient.bs = {
enable = lib.mkDefault true;
enable = lib.mkDefault false;
passphrasePath = config.age.secrets."${config.networking.hostName}-backup-passphrase".path;
sshIdentityFile = config.age.secrets."${config.networking.hostName}-backup-ssh-key".path;
};