diff --git a/nixos/flakes/cloudflare-ddns.nix b/nixos/flakes/cloudflare-ddns.nix index 3e3a7d0..5048226 100644 --- a/nixos/flakes/cloudflare-ddns.nix +++ b/nixos/flakes/cloudflare-ddns.nix @@ -1,9 +1,7 @@ { config, pkgs, ... }: let - script = pkgs.substituteAll { - src = ../../scripts/cloudflare-ddns.sh; - + script = pkgs.replaceVars ../../scripts/cloudflare-ddns.sh { bash = pkgs.bash; curl = pkgs.curl; jq = pkgs.jq;