From 5e4ec68ac753fa6e77499fbaa6777945aa96907f Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 3 Aug 2024 02:33:55 +0200 Subject: [PATCH] cluster/services/hercules-ci-multi-agent: use forService --- cluster/services/hercules-ci-multi-agent/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/services/hercules-ci-multi-agent/default.nix b/cluster/services/hercules-ci-multi-agent/default.nix index 5bc6442..67515ee 100644 --- a/cluster/services/hercules-ci-multi-agent/default.nix +++ b/cluster/services/hercules-ci-multi-agent/default.nix @@ -62,7 +62,7 @@ lib.unique (map (x: "hci-agent-${x}")) ]; - in { + in config.lib.forService "hercules-ci-multi-agent" { keys = lib.genAttrs hciAgentKeys (lib.const {}); buckets.nix-store = { allow = lib.genAttrs hciAgentKeys (lib.const [ "read" "write" ]);