mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
tinc: allow the daemon to write to files in /etc/tinc/${network}/hosts
This commit is contained in:
parent
23d8fd4ae6
commit
3b82d7db82
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ in
|
||||||
(flip mapAttrsToList cfg.networks (network: data:
|
(flip mapAttrsToList cfg.networks (network: data:
|
||||||
flip mapAttrs' data.hosts (host: text: nameValuePair
|
flip mapAttrs' data.hosts (host: text: nameValuePair
|
||||||
("tinc/${network}/hosts/${host}")
|
("tinc/${network}/hosts/${host}")
|
||||||
({ mode = "0444"; inherit text; })
|
({ mode = "0644"; user = "tinc.${network}"; inherit text; })
|
||||||
) // {
|
) // {
|
||||||
"tinc/${network}/tinc.conf" = {
|
"tinc/${network}/tinc.conf" = {
|
||||||
mode = "0444";
|
mode = "0444";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue