enable rcon

This commit is contained in:
2026-07-26 14:20:05 -05:00
parent 441198823c
commit 71be6449b8
+7
View File
@@ -38,6 +38,11 @@
description = "Minecraft files locations";
};
rconSecrets = lib.mkOption {
type = lib.types.path;
description = "minecraft rcon secret";
};
};
config = lib.mkIf opts.enable {
@@ -77,6 +82,8 @@
motd = "Home MC Server";
white-list = true;
spawn-protection = 0;
enable-rcon = true;
"rcon.password" = "CHANGE_THIS_SECRET";
};
package = pkgs.fabricServers.fabric-26_2.override {