stable somewhat
analysis.yaml / perform flake analysis (push) Failing after 1m9s
deploy.yaml / build hive configuration (push) Failing after 30s

This commit is contained in:
2026-09-11 14:43:20 +02:00
parent f5e3ef7c5b
commit 95ddd2d8e9
14 changed files with 380 additions and 115 deletions
+45
View File
@@ -22,6 +22,7 @@ in
./secrets
./authelia.nix
./glances.nix
./jellyfin.nix
];
# Use the systemd-boot EFI boot loader.
@@ -46,6 +47,17 @@ in
# minecraft ad hoc server ports
25665
25675
]
++ [
# rqbit
63369
37751
];
allowedUDPPorts = [
# rqbit
63369
37751
];
};
nat = {
@@ -53,6 +65,16 @@ in
internalInterfaces = [ "enp1s0" ];
externalInterface = "enp1s0";
forwardPorts = [
{
sourcePort = 25665;
proto = "tcp";
destination = "127.0.0.1:25665";
}
{
sourcePort = 25665;
proto = "udp";
destination = "127.0.0.1:25665";
}
{
# TODO refactor this in the gitea/n100 module
sourcePort = nodes.sin.config.services.gitea.settings.server.SSH_PORT;
@@ -69,6 +91,16 @@ in
proto = "tcp";
destination = "${sin-address}:8086";
}
# {
# sourcePort = 54721;
# proto = "tcp";
# destination = "${sin-address}:54721";
# }
# {
# sourcePort = 54721;
# proto = "udp";
# destination = "${sin-address}:54721";
# }
];
};
};
@@ -112,6 +144,19 @@ in
ports = [ 22 ];
};
services.openarena = {
enable = true;
openPorts = true;
extraFlags = [
"+set dedicated 2"
"+set sv_hostname 'Ser\'Hao\'s server'"
"+map oa_dm1"
"+set"
"rconPassword"
"test"
];
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];