modules/borg: Update hostname

This commit is contained in:
fleaz 2024-02-04 01:35:06 +01:00
parent eb01c0bae8
commit c64b97a7bc
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{config,...}: {config,...}:
{ {
programs.ssh.knownHosts = { programs.ssh.knownHosts = {
"borg.cysec.de" = { publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOwKHZZiJ/GgDmAbO2VdGNJIcBQKnFQNXBBzyrsK+ZE0"; }; "borg.cased.de" = { publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOwKHZZiJ/GgDmAbO2VdGNJIcBQKnFQNXBBzyrsK+ZE0"; };
}; };
services.borgbackup.jobs = { services.borgbackup.jobs = {
@ -23,7 +23,7 @@
"/home/fleaz/.local" "/home/fleaz/.local"
]; ];
extraCreateArgs = "--stats"; extraCreateArgs = "--stats";
repo = "fleaz@borg.cysec.de:${config.networking.hostName}"; repo = "fleaz@borg.cased.de:${config.networking.hostName}";
environment = { BORG_RSH = "ssh -i /home/fleaz/.ssh/id_borgbackup"; }; environment = { BORG_RSH = "ssh -i /home/fleaz/.ssh/id_borgbackup"; };
encryption = { encryption = {
mode = "repokey-blake2"; mode = "repokey-blake2";

@ -1 +1 @@
Subproject commit d71489b339b6f6ed2f2f64b04266bec7f0ab0eff Subproject commit 8d47f6b09cd9e730b829b49461251147e1b39994

@ -1 +1 @@
Subproject commit ed5130303552570ca667a773b23a6d935753b5eb Subproject commit 24677df85cac38e2da2abcfb892569d839bb255e