summaryrefslogtreecommitdiff
path: root/hosts/ahmed
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-09-07 12:03:16 +0200
committerLinnnus <[email protected]>2023-09-07 12:04:23 +0200
commitd31d1bae8c38e145cdbafe105401d9528b416779 (patch)
tree55afca0f6a7f3a8e60c3b7f7d1df2b3cc681b9b1 /hosts/ahmed
parentf11070f91bee4745ece948729d820ce0e2163bfd (diff)
fuck det her (noget mc men det var da ogs sidst)
Diffstat (limited to 'hosts/ahmed')
-rw-r--r--hosts/ahmed/configuration.nix8
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