fix mismatched types issue
This commit is contained in:
parent
51dba5e7d6
commit
867aacd6cb
1 changed files with 3 additions and 3 deletions
|
|
@ -143,8 +143,8 @@ in {
|
||||||
rm -f /var/backup/postgres/${key}.sql
|
rm -f /var/backup/postgres/${key}.sql
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
acc
|
if site.backup.enable
|
||||||
// lib.mkIf site.backup.enable {
|
then acc // {
|
||||||
"${key}" = {
|
"${key}" = {
|
||||||
repo = backup_cfg.borgRepository + "/./${key}";
|
repo = backup_cfg.borgRepository + "/./${key}";
|
||||||
environment = {
|
environment = {
|
||||||
|
|
@ -175,4 +175,4 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue