modules/backup: make extraExcludes relative to backup root
This commit is contained in:
parent
faa4ade6b9
commit
7899393d71
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ let
|
||||||
mkJob = paths: commonArgs // {
|
mkJob = paths: commonArgs // {
|
||||||
inherit paths;
|
inherit paths;
|
||||||
inherit (cfg) repo;
|
inherit (cfg) repo;
|
||||||
exclude = cfg.extraExcludes ++ (map (append paths) excludes');
|
exclude = map (append paths) (excludes' ++ cfg.extraExcludes);
|
||||||
startAt = "*-*-* ${cfg.backupTimes.${config.networking.hostName}}";
|
startAt = "*-*-* ${cfg.backupTimes.${config.networking.hostName}}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue