diff --git a/system/all/restic.nix b/system/all/restic.nix index 9ee866b..229545f 100644 --- a/system/all/restic.nix +++ b/system/all/restic.nix @@ -32,7 +32,11 @@ restic = { folders = dirs; from = hostname; - to = server; + to = { + server = server; + repo = config.backup.services.restic."on-${server}".repo; + }; + enable = config.backup.services.restic."on-${server}".enable; }; };