borg-backup: fix exclude config

This commit is contained in:
Antoine Martin 2021-01-31 13:11:31 +01:00
parent 41769615f0
commit 48bb7a8841

View file

@ -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";