From 09bb35e02874d7783f999fbe183736ec3bd8357e Mon Sep 17 00:00:00 2001 From: Luflosi Date: Thu, 30 Nov 2023 19:26:35 +0100 Subject: [PATCH] nixos/teeworlds: reduce closure size Use `teeworlds-server` instead of `teeworlds`. We don't need an entire GUI program just to run the server. (cherry picked from commit efca3c0329531a2bdba8a018dff91434257112a3) --- nixos/modules/services/games/teeworlds.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/games/teeworlds.nix b/nixos/modules/services/games/teeworlds.nix index ffef440330c4e..bd0df1ffca578 100644 --- a/nixos/modules/services/games/teeworlds.nix +++ b/nixos/modules/services/games/teeworlds.nix @@ -100,7 +100,7 @@ in serviceConfig = { DynamicUser = true; - ExecStart = "${pkgs.teeworlds}/bin/teeworlds_srv -f ${teeworldsConf}"; + ExecStart = "${pkgs.teeworlds-server}/bin/teeworlds_srv -f ${teeworldsConf}"; # Hardening CapabilityBoundingSet = false;