From 86de1944fe002e0a6e3294e2a63a377ace2f599c Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 22 Feb 2024 15:11:36 -0600 Subject: [PATCH] Make flanilla a family-friendly (creative and peaceful) server --- modules/nixos/common.nix | 1 + nixos/beefcake.nix | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/modules/nixos/common.nix b/modules/nixos/common.nix index 44ca581..e6827e1 100644 --- a/modules/nixos/common.nix +++ b/modules/nixos/common.nix @@ -28,6 +28,7 @@ in { services.journald.extraConfig = "SystemMaxUse=1G"; home-manager.useGlobalPkgs = true; + # home-manager.useUserPkgs = true; # wut is this? environment = { variables = { diff --git a/nixos/beefcake.nix b/nixos/beefcake.nix index 245e69f..e557935 100644 --- a/nixos/beefcake.nix +++ b/nixos/beefcake.nix @@ -815,6 +815,10 @@ in { STOP_SERVER_ANNOUNCE_DELAY = "20"; TZ = "America/Chicago"; VERSION = "1.20.4"; + OPS = "lytedev"; + MODE = "creative"; + DIFFICULTY = "peaceful"; + ONLINE_MODE = "false"; MEMORY = "8G"; MAX_MEMORY = "16G"; ALLOW_FLIGHT = "true";