cluster/services/attic: use forService

This commit is contained in:
Max Headroom 2024-07-23 19:03:56 +02:00
parent b6e0390555
commit b453b0bb21

View file

@ -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;
};