diff --git a/nix-system-configs/modules/system/traefik.nix b/nix-system-configs/modules/system/traefik.nix index 5abc9a4..6d2337a 100644 --- a/nix-system-configs/modules/system/traefik.nix +++ b/nix-system-configs/modules/system/traefik.nix @@ -763,7 +763,7 @@ in { wantedBy = [ "multi-user.target" ]; serviceConfig = { Type = "oneshot"; - ExecStart = "/usr/bin/env bash /etc/cloudflare-ddns/update.sh"; + ExecStart = "${pkgs.bash}/bin/bash /etc/cloudflare-ddns/update.sh"; User = "traefikprg"; # Make sure the service doesn't fail the boot if the script exits non-zero Restart = "no";