they exist actually
This commit is contained in:
parent
20aa187064
commit
8f0be52080
|
@ -3,6 +3,7 @@ with lib;
|
||||||
let cfg = config.void.server.game.minecraft;
|
let cfg = config.void.server.game.minecraft;
|
||||||
in {
|
in {
|
||||||
options.void.server.game.minecraft = { enable = mkEnableOption false; };
|
options.void.server.game.minecraft = { enable = mkEnableOption false; };
|
||||||
|
imports = [ inputs.nix-minecraft.nixosModules.minecraft-servers ];
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
imports = [ inputs.nix-minecraft.nixosModules.minecraft-servers ];
|
imports = [ inputs.nix-minecraft.nixosModules.minecraft-servers ];
|
||||||
|
@ -23,7 +24,7 @@ in {
|
||||||
package = pkgs.fabrticServers.fabric-1_24_4.override {
|
package = pkgs.fabrticServers.fabric-1_24_4.override {
|
||||||
loaderVersion = "0.16.9";
|
loaderVersion = "0.16.9";
|
||||||
};
|
};
|
||||||
whielist = { Sakoooo = "6b05caca-3d78-4597-aba5-d0f816f94024"; };
|
whitelist = { Sakoooo = "6b05caca-3d78-4597-aba5-d0f816f94024"; };
|
||||||
serverProperties = {
|
serverProperties = {
|
||||||
white-list = true;
|
white-list = true;
|
||||||
difficulty = "normal";
|
difficulty = "normal";
|
||||||
|
|
Loading…
Reference in a new issue