cluster/services/hercules-ci-multi-agent: use forService

This commit is contained in:
Max Headroom 2024-08-03 02:33:55 +02:00
parent 06afea67f8
commit 5e4ec68ac7

View file

@ -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" ]);