From e9ce4095a7f7714a1db690ca8672508cfdf0442b Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 23 Jul 2024 19:03:56 +0200 Subject: [PATCH] cluster/services/attic: use forService --- cluster/services/attic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster/services/attic/default.nix b/cluster/services/attic/default.nix index 2f57697..d052294 100644 --- a/cluster/services/attic/default.nix +++ b/cluster/services/attic/default.nix @@ -33,7 +33,7 @@ }; }; - garage = { + garage = config.lib.forService "attic" { keys.attic.locksmith = { nodes = config.services.attic.nodes.server; owner = "atticd"; @@ -48,7 +48,7 @@ serverAddrs = map (node: depot.hours.${node}.interfaces.primary.addrPublic) config.services.attic.nodes.server; - in { + in config.lib.forService "attic" { cache.target = serverAddrs; };