From 6c891fa9ccaebd7d94f64404d4cb375bfdac616e Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 9 Sep 2024 01:59:42 +0900 Subject: feat(nixos/kanata): configure minecraft-server --- nixos/kanata/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) 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; -- cgit 1.4.1