depot/cluster/services/forge/default.nix

18 lines
355 B
Nix
Raw Normal View History

{ config, depot, ... }:
2023-07-21 02:26:26 +03:00
{
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;
2024-07-02 18:07:43 +03:00
garage = {
keys.forgejo = { };
buckets.forgejo.allow.forgejo = [ "read" "write" ];
};
2023-07-21 02:26:26 +03:00
}