fix gs backup

This commit is contained in:
Tim Schubert 2023-01-22 14:15:15 +01:00
parent b253f2b6b4
commit 4d380ff601
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
5 changed files with 23 additions and 4 deletions

View file

@ -99,12 +99,12 @@ in
21027 # Syncthing
];
};
systemd.services.modem-manager.enable = lib.mkForce false;
systemd.services."dbus-org.freedesktop.ModemManager1".enable = lib.mkForce false;
services.udev.packages= [ xilinxJtag ];#noMtpUdevRules ];
services.udev.packages = [ xilinxJtag ]; #noMtpUdevRules ];
virtualisation.libvirtd.enable = true;
users.users = {

View file

@ -88,6 +88,8 @@ in
startAt = "monthly";
};
systemd.timers."borgbackup-job-gs".enable = false;
services.borgbackup.jobs.bs = mkIf cfg.bs.enable {
paths = "/";
exclude = backupExcludes;

View file

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