From 28bedc5f11d6fba739f6b761a3e554ac406af453 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Fri, 31 Jan 2020 10:12:41 -0500 Subject: [PATCH] nixos/ldap: add CAP_SYS_RESOURCE capability to nslcd service --- nixos/modules/config/ldap.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/config/ldap.nix b/nixos/modules/config/ldap.nix index 5587e5883c9f..b554f197dc4b 100644 --- a/nixos/modules/config/ldap.nix +++ b/nixos/modules/config/ldap.nix @@ -280,6 +280,7 @@ in Group = "nslcd"; RuntimeDirectory = [ "nslcd" ]; PIDFile = "/run/nslcd/nslcd.pid"; + AmbientCapabilities = "CAP_SYS_RESOURCE"; }; };