added backup
This commit is contained in:
parent
e9c15d095f
commit
311c85642b
3 changed files with 62 additions and 0 deletions
19
services/borgbackup-vps.nix
Normal file
19
services/borgbackup-vps.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# 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"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue