From 78ac695edea4f83a1a5825f86f0576c96244b7e5 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 29 May 2024 02:03:19 -0700 Subject: Fix systemd conflict --- hosts/common/optional/services/kea.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts') 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"; -- cgit v1.2.3