diff options
author | sefidel <contact@sefidel.net> | 2024-09-09 01:59:42 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-12-22 13:19:18 +0900 |
commit | 6c891fa9ccaebd7d94f64404d4cb375bfdac616e (patch) | |
tree | 312a3db2cdb7b2e09ca6c08b6d69321878e2d33d | |
parent | ccb98e61a887938e93b686da949c4e2cff931d6c (diff) | |
download | nixrc-6c891fa9ccaebd7d94f64404d4cb375bfdac616e.tar.gz nixrc-6c891fa9ccaebd7d94f64404d4cb375bfdac616e.zip |
feat(nixos/kanata): configure minecraft-server
-rw-r--r-- | nixos/kanata/configuration.nix | 11 |
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; |