diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/backup-server.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/backup-server.nix b/modules/backup-server.nix index f66b0b9..acc5553 100644 --- a/modules/backup-server.nix +++ b/modules/backup-server.nix @@ -18,7 +18,7 @@ let backups.dragon = { paths = [ "/home" "/opt" "/var" ]; - exclude = [ "/var/lib/lxd" ]; + exclude = [ "/var/lib/lxd" "/var/lib/borg" ]; doInit = true; repo = "borg@www.breakds.org:."; encryption = { @@ -59,6 +59,10 @@ in authorizedKeys = [ (builtins.readFile ../secrets/dragon-borg-ssh-key.pub) ]; path = [ "/var/lib/dragon" ]; }; + breakds = { + authorizedKeys = [ (builtins.readFile ../data/breakds.pub) ]; + path = [ "/var/lib/borg/breakds" ]; + }; pincer = { authorizedKeys = [ (builtins.readFile ../secrets/pincer-borg-ssh-key.pub) ]; path = [ "/var/lib/borg-pincer" ]; |