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
|
21027 # Syncthing
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.modem-manager.enable = lib.mkForce false;
|
systemd.services.modem-manager.enable = lib.mkForce false;
|
||||||
systemd.services."dbus-org.freedesktop.ModemManager1".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;
|
virtualisation.libvirtd.enable = true;
|
||||||
|
|
||||||
users.users = {
|
users.users = {
|
||||||
|
|
|
@ -88,6 +88,8 @@ in
|
||||||
startAt = "monthly";
|
startAt = "monthly";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.timers."borgbackup-job-gs".enable = false;
|
||||||
|
|
||||||
services.borgbackup.jobs.bs = mkIf cfg.bs.enable {
|
services.borgbackup.jobs.bs = mkIf cfg.bs.enable {
|
||||||
paths = "/";
|
paths = "/";
|
||||||
exclude = backupExcludes;
|
exclude = backupExcludes;
|
||||||
|
|
|
@ -9,6 +9,12 @@ in
|
||||||
sshIdentityFile = config.age.secrets."${config.networking.hostName}-backup-ssh-key".path;
|
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".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";
|
age.secrets."${config.networking.hostName}-backup-ssh-key".file = "${secretsPath}/${config.networking.hostName}-backup-ssh-key.age";
|
||||||
}
|
}
|
||||||
|
|
10
secrets/gorgon-backup-gs-passphrase.age
Normal file
10
secrets/gorgon-backup-gs-passphrase.age
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 0aOabg 9911l+glO4IHD+/KEqVMfJHNHAxP/iShTVpGHgKC/TY
|
||||||
|
9g7vLb+T2079yst1ZKXKlwAVhF9zQd79vl/UWpnBJq8
|
||||||
|
-> ssh-ed25519 Otklkw egRNXEFrQMSJ5rZTM4ND5LgJjkIW66YKtCeWQ1rkNTE
|
||||||
|
YQViNMFpP/S3Tpc1yvIHIWud7QHTnO0RK3FQbPlQ8N4
|
||||||
|
-> xV2q-grease
|
||||||
|
2HGDr4IOqMcYh5ud219N73Gq8lyOWX4irrjCnNe1CR8dpjWN+rnDnCFbEB3Troqp
|
||||||
|
4zVnSNw
|
||||||
|
--- dPWJpPMiJkxAA+H8HmahTdMCGa5HaglmYmgUzhctgUo
|
||||||
|
@ÌB¾t]šøzïï‘øy*}ˆ‰§îþõ-A’¾×ÁPbÈvÙØhúnŠß
=`-Âà4Ò
|
|
@ -18,6 +18,7 @@ in
|
||||||
"pruflas-wg-hydra-key.age".publicKeys = [ systems.pruflas dadada ];
|
"pruflas-wg-hydra-key.age".publicKeys = [ systems.pruflas dadada ];
|
||||||
"hydra-github-authorization.age".publicKeys = [ systems.pruflas dadada ];
|
"hydra-github-authorization.age".publicKeys = [ systems.pruflas dadada ];
|
||||||
"miniflux-admin-credentials.age".publicKeys = [ systems.surgat dadada ];
|
"miniflux-admin-credentials.age".publicKeys = [ systems.surgat dadada ];
|
||||||
|
"gorgon-backup-gs-passphrase.age".publicKeys = [ systems.gorgon dadada ];
|
||||||
} //
|
} //
|
||||||
backupSecrets "gorgon" //
|
backupSecrets "gorgon" //
|
||||||
backupSecrets "ifrit" //
|
backupSecrets "ifrit" //
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue