borg-backup: fix exclude config
This commit is contained in:
parent
41769615f0
commit
48bb7a8841
|
@ -45,10 +45,8 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.borgbackup.jobs."borgbase" = {
|
services.borgbackup.jobs."borgbase" = {
|
||||||
paths = cfg.paths;
|
paths = cfg.paths;
|
||||||
exclude = [
|
exclude = cfg.exclude;
|
||||||
# nothing for now
|
repo = cfg.repo;
|
||||||
];
|
|
||||||
repo = "${cfg.repo}";
|
|
||||||
encryption = {
|
encryption = {
|
||||||
mode = "repokey-blake2";
|
mode = "repokey-blake2";
|
||||||
passCommand = "cat /root/borgbackup/passphrase";
|
passCommand = "cat /root/borgbackup/passphrase";
|
||||||
|
|
Loading…
Reference in a new issue