rename nodes and add runner for gitea instance

This commit is contained in:
shobu
2025-11-11 21:05:47 +01:00
parent c610ce80bc
commit 542034054c
34 changed files with 69 additions and 24 deletions

View File

@@ -2,5 +2,5 @@ $ORIGIN homelab.local.
@ IN SOA dns.homelab.local. shobu_serhao.proton.me. 2502011720 7200 3600 1209600 3600
dns IN A 10.0.0.5
n100 IN A 10.0.0.5
zimablade IN A 10.0.0.4
thea IN A 10.0.0.5
sin IN A 10.0.0.4

View File

@@ -20,14 +20,14 @@
boot.loader.efi.canTouchEfiVariables = true;
networking = {
hostName = "n100"; # Define your hostname.
hostName = "thea"; # Define your hostname.
nameservers = [ "10.0.0.4" ];
dhcpcd.extraConfig = "nohook resolv.conf";
firewall = {
allowedTCPPorts = [ nodes.zimablade.config.services.gitea.settings.server.SSH_PORT ];
allowedTCPPorts = [ nodes.sin.config.services.gitea.settings.server.SSH_PORT ];
};
nat = {
enable = true;
@@ -35,7 +35,7 @@
externalInterface = "enp1s0";
forwardPorts = [ {
# TODO refactor this in the gitea/n100 module
sourcePort = nodes.zimablade.config.services.gitea.settings.server.SSH_PORT;
sourcePort = nodes.sin.config.services.gitea.settings.server.SSH_PORT;
proto = "tcp";
destination = "10.0.0.4:22";
} ];