diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-10-16 21:28:45 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-10-20 23:49:18 +0200 |
commit | 5c78e5b4aa516bd7c34718e219abfefe6bc62e55 (patch) | |
tree | 223314007275d1028d287283b6cc856c575340ad /nixos/modules/services/networking/ddclient.nix | |
parent | 04ddb3994a11ddbb1b7b777fe5374948e7be10da (diff) | |
download | nixpkgs-5c78e5b4aa516bd7c34718e219abfefe6bc62e55.tar nixpkgs-5c78e5b4aa516bd7c34718e219abfefe6bc62e55.tar.gz nixpkgs-5c78e5b4aa516bd7c34718e219abfefe6bc62e55.tar.bz2 nixpkgs-5c78e5b4aa516bd7c34718e219abfefe6bc62e55.tar.lz nixpkgs-5c78e5b4aa516bd7c34718e219abfefe6bc62e55.tar.xz nixpkgs-5c78e5b4aa516bd7c34718e219abfefe6bc62e55.tar.zst nixpkgs-5c78e5b4aa516bd7c34718e219abfefe6bc62e55.zip |
nixos/ddclient: simplify with lib.getExe
Diffstat (limited to 'nixos/modules/services/networking/ddclient.nix')
-rw-r--r-- | nixos/modules/services/networking/ddclient.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/ddclient.nix b/nixos/modules/services/networking/ddclient.nix index 4985a2dd4b2..8f4fb0bc78d 100644 --- a/nixos/modules/services/networking/ddclient.nix +++ b/nixos/modules/services/networking/ddclient.nix @@ -218,7 +218,7 @@ with lib; inherit StateDirectory; Type = "oneshot"; ExecStartPre = "!${pkgs.writeShellScript "ddclient-prestart" preStart}"; - ExecStart = "${lib.getBin cfg.package}/bin/ddclient -file /run/${RuntimeDirectory}/ddclient.conf"; + ExecStart = "${lib.getExe cfg.package} -file /run/${RuntimeDirectory}/ddclient.conf"; }; }; |