forked from mirrors/nixpkgs
Merge pull request #27756 from volth/tinc-fix
tinc: allow the daemon to write to files in /etc/tinc/${network}/hosts
This commit is contained in:
commit
758bf31a22
|
@ -131,7 +131,7 @@ in
|
|||
(flip mapAttrsToList cfg.networks (network: data:
|
||||
flip mapAttrs' data.hosts (host: text: nameValuePair
|
||||
("tinc/${network}/hosts/${host}")
|
||||
({ mode = "0444"; inherit text; })
|
||||
({ mode = "0644"; user = "tinc.${network}"; inherit text; })
|
||||
) // {
|
||||
"tinc/${network}/tinc.conf" = {
|
||||
mode = "0444";
|
||||
|
|
Loading…
Reference in a new issue