diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-25 13:57:48 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-26 10:57:07 +0700 |
commit | 1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270 (patch) | |
tree | 1bdff74d3f609e78f8931a3f32398062d61db84d /nixos/modules/services/networking/tinc.nix | |
parent | aa8868c7cca8d30706a68a876d048968c83e1cf1 (diff) |
treewide: fold -> foldr
Diffstat (limited to 'nixos/modules/services/networking/tinc.nix')
-rw-r--r-- | nixos/modules/services/networking/tinc.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/tinc.nix b/nixos/modules/services/networking/tinc.nix index b6afd83a9abd8..9e433ad1a98f3 100644 --- a/nixos/modules/services/networking/tinc.nix +++ b/nixos/modules/services/networking/tinc.nix @@ -351,7 +351,7 @@ in config = mkIf (cfg.networks != { }) { - environment.etc = fold (a: b: a // b) { } + environment.etc = foldr (a: b: a // b) { } (flip mapAttrsToList cfg.networks (network: data: flip mapAttrs' data.hosts (host: text: nameValuePair ("tinc/${network}/hosts/${host}") |