From 4b2f6878291da5335599e225095c92de55469907 Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Tue, 3 Mar 2026 12:04:26 +0100 Subject: [PATCH] Make it invoke bash the Nix way. --- nix-system-configs/modules/system/traefik.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";