From a719f91a85a2c303f00fa72e98b6acdf3ee56528 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Tue, 10 Sep 2024 11:40:24 +0200 Subject: [PATCH] nixos/teeworlds: use `lib.getExe` instead of hardcoded path --- 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 77942c46a083..f12647149573 100644 --- a/nixos/modules/services/games/teeworlds.nix +++ b/nixos/modules/services/games/teeworlds.nix @@ -418,7 +418,7 @@ in -i ${teeworldsConf} \ -o /run/teeworlds/teeworlds.yaml ''; - ExecStart = "${cfg.package}/bin/teeworlds_srv -f /run/teeworlds/teeworlds.yaml"; + ExecStart = "${lib.getExe cfg.package} -f /run/teeworlds/teeworlds.yaml"; # Hardening CapabilityBoundingSet = false;