From 8f55dbf4ef2066124dcf0c93edb8b0e712c6fd10 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 faaa13d..20cf9c7 100644 --- a/cluster/services/attic/default.nix +++ b/cluster/services/attic/default.nix @@ -25,7 +25,7 @@ }; }; - garage = { + garage = config.lib.forService "attic" { keys.attic.locksmith = { nodes = config.services.attic.nodes.server; owner = "atticd"; @@ -40,7 +40,7 @@ serverAddrs = map (node: depot.hours.${node}.interfaces.primary.addrPublic) config.services.attic.nodes.server; - in { + in config.lib.forService "attic" { cache-api.target = serverAddrs; cache.target = serverAddrs; };