From 48bb7a8841be684f67e74dae6d6bfc26a61e5990 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 31 Jan 2021 13:11:31 +0100 Subject: [PATCH] borg-backup: fix exclude config --- services/borg-backup.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/services/borg-backup.nix b/services/borg-backup.nix index 9dc866e..387a304 100644 --- a/services/borg-backup.nix +++ b/services/borg-backup.nix @@ -45,10 +45,8 @@ in { config = mkIf cfg.enable { services.borgbackup.jobs."borgbase" = { paths = cfg.paths; - exclude = [ - # nothing for now - ]; - repo = "${cfg.repo}"; + exclude = cfg.exclude; + repo = cfg.repo; encryption = { mode = "repokey-blake2"; passCommand = "cat /root/borgbackup/passphrase";