home-server/services/borgbackup-vps.nix
2026-02-24 16:44:03 -08:00

19 lines
533 B
Nix

{ ... }:
{
# Inbound: accept desktop offsite backups
services.borgbackup.repos.desktop = {
path = "/var/lib/borg/desktop";
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINvKMpaawaw5bp73/W4dm0YEZa2FT99pXHLOYqZS8NPL borg-desktop"
];
};
# Inbound: accept homeserver backups
services.borgbackup.repos.homeserver = {
path = "/var/lib/borg/homeserver";
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEkWV7RJuN4/cGGsER7oHJ55R4aZZZuDnCn/fjyPd9KX borg-homeserver"
];
};
}