stable somewhat
This commit is contained in:
@@ -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 = [ ... ];
|
||||
|
||||
Reference in New Issue
Block a user