chrony: drop privileges

This commit is contained in:
Daniel Barlow 2023-08-27 22:05:22 +01:00
parent 81b56fb6a3
commit 6b28f5dd79
2 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,7 @@ let
++
(mapAttrsToList (name: opts: "peer ${name} ${concatStringsSep "" opts}")
p.peers)
++ [ "user #{p.user}" ]
++ [ "user ${p.user}" ]
++ (lib.optional (p.makestep != null) "makestep ${toString p.makestep.threshold} ${toString p.makestep.limit}")
++ (map (n: "allow ${n}") p.allow)
++ (lib.optional (p.bindaddress != null) "bindaddress ${p.bindaddress}")

View File

@ -72,7 +72,6 @@ extraPkgs // {
nspr = null;
readline = null;
libedit = null;
libcap = null;
libseccomp = null;
# should texinfo be in nativeBuildInputs instead of
# buildInputs?