diff options
Diffstat (limited to 'modules/backup-server.nix')
-rw-r--r-- | modules/backup-server.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/backup-server.nix b/modules/backup-server.nix index 8d5d085..22f51e5 100644 --- a/modules/backup-server.nix +++ b/modules/backup-server.nix @@ -17,9 +17,10 @@ let }; backups.dragon = { - paths = [ "/etc/nixos" ]; + paths = [ "/home" "/opt" "/var" ]; + exclude = [ "/var/lib/lxd" "/var/lib/nextcloud" ]; doInit = true; - repo = cfg.serverLocation; + repo = "borg@www.breakds.org:."; encryption = { mode = "repokey-blake2"; passCommand = "cat ${config.age.secrets.dragon-borg-repo-key.path}"; |