diff options
-rw-r--r-- | hosts/common/optional/services/kea.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/common/optional/services/kea.nix b/hosts/common/optional/services/kea.nix index 29be671..a5db4d6 100644 --- a/hosts/common/optional/services/kea.nix +++ b/hosts/common/optional/services/kea.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ lib, pkgs, ... }: { services.kea.dhcp4 = { configFile = "/run/secrets/kea-dhcp4.conf"; @@ -7,7 +7,7 @@ systemd.services.kea-dhcp4-server = { serviceConfig = { - ExecStart = '' + ExecStart = lib.mkForce '' ${pkgs.kea}/bin/kea-dhcp4 -c ''${CREDENTIALS_DIRECTORY}/kea-dhcp4.conf ''; LoadCredential = "kea-dhcp4.conf:/run/secrets/kea-dhcp4.conf"; |