summaryrefslogtreecommitdiff
path: root/services/on-demand-minecraft/default.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-09-30 14:53:27 +0200
committerLinnnus <[email protected]>2023-09-30 14:53:55 +0200
commitd7fc02342227fbd442f47e27fa12a42ff7998cd5 (patch)
tree9f90238e85d4f271cdce6dfe26e8683add68f10f /services/on-demand-minecraft/default.nix
parent039061095ad29da895479ea3dbd68e40689f5f72 (diff)
fix everything forever i hope
Diffstat (limited to 'services/on-demand-minecraft/default.nix')
-rw-r--r--services/on-demand-minecraft/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/on-demand-minecraft/default.nix b/services/on-demand-minecraft/default.nix
index e811f39..541a624 100644
--- a/services/on-demand-minecraft/default.nix
+++ b/services/on-demand-minecraft/default.nix
@@ -50,6 +50,7 @@ in
The internal port which the minecraft server will listen to.
This port does not need to be exposed to the network.
'';
+ type = types.port;
default = cfg.external-port + 1;
};
@@ -63,6 +64,7 @@ in
You may also have to set up port forwarding if you want to
play with friends who are not on the same LAN.
'';
+ type = types.port;
default = 25565;
};