19 lines
533 B
Nix
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"
|
|
];
|
|
};
|
|
}
|