diff --git a/ops/nixos/bvm-minecraft/default.nix b/ops/nixos/bvm-minecraft/default.nix index 5f8723fc40..8e2de0fae6 100644 --- a/ops/nixos/bvm-minecraft/default.nix +++ b/ops/nixos/bvm-minecraft/default.nix @@ -28,5 +28,18 @@ in { ]; }; + programs.java = { + enable = true; + package = pkgs.jdk11; + }; + + users.groups.minecraft = { + members = [ "minecraft" "lukegb" ]; + }; + users.users.minecraft = { + isNormalUser = true; + group = "minecraft"; + }; + system.stateVersion = "21.05"; }