refactor gitea configuration in a module

updated: modules/gitea to put specific configuration in the module
updated: flake.nix to import the module in nodes
This commit is contained in:
lelu awen
2025-09-18 18:51:56 +02:00
parent 0179f02819
commit 28874ebb5f
5 changed files with 28 additions and 21 deletions

View File

@@ -0,0 +1,7 @@
{nodes, ...}:{
networking.nat.forwardPorts = [{
sourcePort = nodes.zimablade.config.services.gitea.settings.server.SSH_PORT;
proto = "tcp";
destination = "10.0.0.4:22";
}];
}