depot/cluster/services/forge/default.nix

17 lines
355 B
Nix

{ config, depot, ... }:
{
services.forge = {
nodes.server = [ "VEGAS" ];
nixos.server = ./server.nix;
};
dns.records.forge.target = map
(node: depot.hours.${node}.interfaces.primary.addrPublic)
config.services.forge.nodes.server;
garage = {
keys.forgejo = { };
buckets.forgejo.allow.forgejo = [ "read" "write" ];
};
}