aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-05-29 02:03:19 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-05-29 02:03:19 -0700
commit78ac695edea4f83a1a5825f86f0576c96244b7e5 (patch)
treec3e9bd95ec818f757726a94c3d674fac8fb2f5fc /hosts/common/optional
parent0bc52eb83fe4e8f52407e1449c51d2820f857887 (diff)
downloadnix-78ac695edea4f83a1a5825f86f0576c96244b7e5.tar
nix-78ac695edea4f83a1a5825f86f0576c96244b7e5.tar.gz
nix-78ac695edea4f83a1a5825f86f0576c96244b7e5.tar.bz2
nix-78ac695edea4f83a1a5825f86f0576c96244b7e5.tar.lz
nix-78ac695edea4f83a1a5825f86f0576c96244b7e5.tar.xz
nix-78ac695edea4f83a1a5825f86f0576c96244b7e5.tar.zst
nix-78ac695edea4f83a1a5825f86f0576c96244b7e5.zip
Fix systemd conflict
Diffstat (limited to '')
-rw-r--r--hosts/common/optional/services/kea.nix4
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";