updated: modules/gitea to put specific configuration in the module updated: flake.nix to import the module in nodes
8 lines
193 B
Nix
8 lines
193 B
Nix
{nodes, ...}:{
|
|
networking.nat.forwardPorts = [{
|
|
sourcePort = nodes.zimablade.config.services.gitea.settings.server.SSH_PORT;
|
|
proto = "tcp";
|
|
destination = "10.0.0.4:22";
|
|
}];
|
|
}
|