summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2021-12-27 22:01:32 +0100
committerGitHub <noreply@github.com>2021-12-27 22:01:32 +0100
commiteb51af35ad542f2331e9c2f936698a6175168072 (patch)
tree309325e40dbc40f284c1db0e3fca69cd3c1adb0f /nixos
parentad86f7d78fa8e48a0ee096b2bdf7d6f842ca9317 (diff)
parent6faa7ad3fc2fe556324c225bd704fef3a7fb2003 (diff)
Merge pull request #152311 from arachnist/kea-fixes
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/kea.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/kea.nix b/nixos/modules/services/networking/kea.nix
index b11402204aec..4da47f575f79 100644
--- a/nixos/modules/services/networking/kea.nix
+++ b/nixos/modules/services/networking/kea.nix
@@ -236,6 +236,7 @@ in
environment = {
KEA_PIDFILE_DIR = "/run/kea";
+ KEA_LOCKFILE_DIR = "/run/kea";
};
restartTriggers = [
@@ -271,6 +272,7 @@ in
environment = {
KEA_PIDFILE_DIR = "/run/kea";
+ KEA_LOCKFILE_DIR = "/run/kea";
};
restartTriggers = [
@@ -313,6 +315,7 @@ in
environment = {
KEA_PIDFILE_DIR = "/run/kea";
+ KEA_LOCKFILE_DIR = "/run/kea";
};
restartTriggers = [
@@ -353,6 +356,7 @@ in
environment = {
KEA_PIDFILE_DIR = "/run/kea";
+ KEA_LOCKFILE_DIR = "/run/kea";
};
restartTriggers = [
@@ -361,7 +365,7 @@ in
serviceConfig = {
ExecStart = "${package}/bin/kea-dhcp-ddns -c /etc/kea/dhcp-ddns.conf ${lib.escapeShellArgs cfg.dhcp-ddns.extraArgs}";
- AmbientCapabilites = [
+ AmbientCapabilities = [
"CAP_NET_BIND_SERVICE"
];
CapabilityBoundingSet = [