forked from DGNum/liminix
chrony: drop privileges
This commit is contained in:
parent
81b56fb6a3
commit
6b28f5dd79
2 changed files with 1 additions and 2 deletions
|
@ -22,7 +22,7 @@ let
|
||||||
++
|
++
|
||||||
(mapAttrsToList (name: opts: "peer ${name} ${concatStringsSep "" opts}")
|
(mapAttrsToList (name: opts: "peer ${name} ${concatStringsSep "" opts}")
|
||||||
p.peers)
|
p.peers)
|
||||||
++ [ "user #{p.user}" ]
|
++ [ "user ${p.user}" ]
|
||||||
++ (lib.optional (p.makestep != null) "makestep ${toString p.makestep.threshold} ${toString p.makestep.limit}")
|
++ (lib.optional (p.makestep != null) "makestep ${toString p.makestep.threshold} ${toString p.makestep.limit}")
|
||||||
++ (map (n: "allow ${n}") p.allow)
|
++ (map (n: "allow ${n}") p.allow)
|
||||||
++ (lib.optional (p.bindaddress != null) "bindaddress ${p.bindaddress}")
|
++ (lib.optional (p.bindaddress != null) "bindaddress ${p.bindaddress}")
|
||||||
|
|
|
@ -72,7 +72,6 @@ extraPkgs // {
|
||||||
nspr = null;
|
nspr = null;
|
||||||
readline = null;
|
readline = null;
|
||||||
libedit = null;
|
libedit = null;
|
||||||
libcap = null;
|
|
||||||
libseccomp = null;
|
libseccomp = null;
|
||||||
# should texinfo be in nativeBuildInputs instead of
|
# should texinfo be in nativeBuildInputs instead of
|
||||||
# buildInputs?
|
# buildInputs?
|
||||||
|
|
Loading…
Reference in a new issue