about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/kanata/configuration.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixos/kanata/configuration.nix b/nixos/kanata/configuration.nix
index 32e4cee..0d8dc10 100644
--- a/nixos/kanata/configuration.nix
+++ b/nixos/kanata/configuration.nix
@@ -269,6 +269,17 @@ in
       secrets.nitter-guest-accounts = config.sops.secrets.nitter-account-jsonl.path;
     };
 
+    services.minecraft-server = {
+      enable = true;
+
+      package = pkgs.papermcServers.papermc-1_21;
+      eula = true;
+      bedrockSupport = true;
+
+      dataDir = "/smol/sandbox/minecraft-server";
+      openFirewall = true;
+    };
+
     services.invidious = {
       enable = true;