lol

nixos/ddclient: simplify with lib.getExe

+1 -1
+1 -1
nixos/modules/services/networking/ddclient.nix
··· 218 218 inherit StateDirectory; 219 219 Type = "oneshot"; 220 220 ExecStartPre = "!${pkgs.writeShellScript "ddclient-prestart" preStart}"; 221 - ExecStart = "${lib.getBin cfg.package}/bin/ddclient -file /run/${RuntimeDirectory}/ddclient.conf"; 221 + ExecStart = "${lib.getExe cfg.package} -file /run/${RuntimeDirectory}/ddclient.conf"; 222 222 }; 223 223 }; 224 224