From dddb118d00894e0814c20ca8a717f727eaf80ab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Thu, 20 Nov 2025 00:22:32 +0800 Subject: [PATCH 1/2] chore: Disable hack for Minecraft optimization on VPS --- configuration/default.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/configuration/default.nix b/configuration/default.nix index 08b63a1..a020401 100644 --- a/configuration/default.nix +++ b/configuration/default.nix @@ -34,13 +34,6 @@ settings.trusted-users = [ "@wheel" ]; }; - # Optimization for minecraft servers, see: - # https://bugs.mojang.com/browse/MC-183518 - boot.kernelParams = [ - "highres=off" - "nohz=off" - ]; - networking = { usePredictableInterfaceNames = false; useDHCP = false; From 2096b80bbef2640675e6f250b12a104bb6b21ba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Thu, 20 Nov 2025 00:24:04 +0800 Subject: [PATCH 2/2] fix: Make the default package disabling actually work --- configuration/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configuration/default.nix b/configuration/default.nix index a020401..7e67c62 100644 --- a/configuration/default.nix +++ b/configuration/default.nix @@ -1,4 +1,9 @@ -{ modulesPath, flake-inputs, ... }: +{ + lib, + modulesPath, + flake-inputs, + ... +}: { imports = [ flake-inputs.disko.nixosModules.disko @@ -79,7 +84,7 @@ sops.defaultSopsFile = ../keys/production.yaml; # Remove some unneeded packages - environment.defaultPackages = [ ]; + environment.defaultPackages = lib.mkForce [ ]; system.stateVersion = "20.09"; }