add helsinki-box as borg target
This commit is contained in:
parent
541106db2c
commit
da0a52a018
4 changed files with 10 additions and 16 deletions
|
|
@ -8,7 +8,6 @@
|
|||
../../../modules/podman.nix
|
||||
../../../modules/vpn/tailscale.nix
|
||||
../../../modules/borg/client.nix
|
||||
../../../modules/borg/server.nix
|
||||
];
|
||||
|
||||
# Bootloader - standard UEFI setup
|
||||
|
|
@ -191,21 +190,9 @@
|
|||
|
||||
services.tailscale-custom.exitNode = true;
|
||||
|
||||
services.borg-server-custom = {
|
||||
enable = true;
|
||||
users = {
|
||||
nfss.publicKeys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICp2goZiuSfwMA02GsHhYzUZHrQPPBgP5sWSNP9kQR3e yanlin@imac"
|
||||
];
|
||||
vps.publicKeys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICp2goZiuSfwMA02GsHhYzUZHrQPPBgP5sWSNP9kQR3e yanlin@imac"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services.borg-client-custom = {
|
||||
enable = true;
|
||||
repositoryUrl = "ssh://borg-box/./thinkpad";
|
||||
repositoryUrl = "ssh://helsinki-box/./thinkpad";
|
||||
backupPaths = [
|
||||
"/home/yanlin/Archive"
|
||||
"/home/yanlin/Credentials"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue