Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

wip: minecraft prismarine server

cosmeak f99a8bfe f4cd6032

+19
+19
modules/features/minecraft-servers/prismarine.nix
··· 1 + { inputs, ... }: { 2 + flake.nixosModules.mc-prismarine = { pkgs, ... }: { 3 + imports = [ inputs.self.nixosModules.minecraft-servers ]; 4 + 5 + services.minecraft-servers.servers.prismarine = { 6 + enable = false; 7 + autoStart = true; 8 + enableReload = true; 9 + package = pkgs.minecraftServers.vanilla-1_21_11; 10 + 11 + serverProperties = { 12 + motd = "Just the two of us!"; 13 + server-port = 25565; 14 + max-players = 2; 15 + difficulty = 2; 16 + }; 17 + }; 18 + }; 19 + }