nixos: permit dnscrypt-proxy service to read basic user/group info
If nscd is not running, dnscrypt-proxy crashes without read access to /etc/{password,group,nsswitch.conf}.
This commit is contained in:
parent
e1af50c4c4
commit
dfe20de782
1 changed files with 4 additions and 0 deletions
|
@ -104,6 +104,10 @@ in
|
|||
/dev/null rw,
|
||||
/dev/urandom r,
|
||||
|
||||
/etc/passwd r,
|
||||
/etc/group r,
|
||||
${config.environment.etc."nsswitch.conf".source} r,
|
||||
|
||||
${pkgs.glibc}/lib/*.so mr,
|
||||
${pkgs.tzdata}/share/zoneinfo/** r,
|
||||
|
||||
|
|
Loading…
Reference in a new issue