fix gs backup
This commit is contained in:
parent
b253f2b6b4
commit
4d380ff601
5 changed files with 23 additions and 4 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue