diff options
Diffstat (limited to 'hosts/ahmed/configuration.nix')
-rw-r--r-- | hosts/ahmed/configuration.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/ahmed/configuration.nix b/hosts/ahmed/configuration.nix index 2ffa8a1..95561bd 100644 --- a/hosts/ahmed/configuration.nix +++ b/hosts/ahmed/configuration.nix @@ -59,6 +59,14 @@ nix.settings.experimental-features = [ "nix-command" ]; + # Set up Minecraft server. + my.services.on-demand-minecraft = { + enable = true; + eula = true; + package = pkgs.papermc; + openFirewall = true; + }; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It's perfectly fine and recommended to leave |