about summary refs log tree commit diff
path: root/nixos/kanata
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-09-09 01:59:42 +0900
committersefidel <contact@sefidel.net>2024-12-22 13:19:18 +0900
commit6c891fa9ccaebd7d94f64404d4cb375bfdac616e (patch)
tree312a3db2cdb7b2e09ca6c08b6d69321878e2d33d /nixos/kanata
parentccb98e61a887938e93b686da949c4e2cff931d6c (diff)
downloadnixrc-6c891fa9ccaebd7d94f64404d4cb375bfdac616e.tar.gz
nixrc-6c891fa9ccaebd7d94f64404d4cb375bfdac616e.zip
feat(nixos/kanata): configure minecraft-server
Diffstat (limited to 'nixos/kanata')
-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;