mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 11:31:36 +01:00
Open ports for domains
This commit is contained in:
@@ -6,7 +6,13 @@
|
||||
../shared.nix
|
||||
];
|
||||
|
||||
networking.hostName = "server";
|
||||
networking = {
|
||||
hostname = "server";
|
||||
firewall = {
|
||||
allowedTCPPorts = [ 80 443 25565 ];
|
||||
allowedUDPPorts = [ 80 443 25565 ];
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
minecraft-server = {
|
||||
|
||||
Reference in New Issue
Block a user