Skip to content

Commit

Permalink
nixos/teeworlds: reduce closure size
Browse files Browse the repository at this point in the history
Use `teeworlds-server` instead of `teeworlds`.
We don't need an entire GUI program just to run the server.

(cherry picked from commit efca3c0)
  • Loading branch information
Luflosi authored and github-actions[bot] committed Dec 7, 2023
1 parent edbefac commit 09bb35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/games/teeworlds.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 09bb35e

Please sign in to comment.