2023-12-04 00:11:50 +02:00
|
|
|
{ config, depot, ... }:
|
|
|
|
|
2023-07-21 02:26:26 +03:00
|
|
|
{
|
|
|
|
services.forge = {
|
|
|
|
nodes.server = [ "VEGAS" ];
|
|
|
|
nixos.server = ./server.nix;
|
2024-07-04 05:25:56 +03:00
|
|
|
meshLinks.server = {
|
|
|
|
name = "forge";
|
|
|
|
link.protocol = "http";
|
|
|
|
};
|
2023-07-21 02:26:26 +03:00
|
|
|
};
|
2023-12-04 00:11:50 +02:00
|
|
|
|
2024-07-04 05:25:56 +03:00
|
|
|
ways.forge.target = let
|
|
|
|
host = builtins.head config.services.forge.nodes.server;
|
|
|
|
in config.hostLinks.${host}.forge.url;
|
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
|
|
|
}
|