summary refs log tree commit diff
path: root/nixos/modules/services/networking/tinc.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-27 12:01:20 +0000
committerGitHub <noreply@github.com>2021-07-27 12:01:20 +0000
commit2692c2e4277b0b1b3b01299462f238efccba91e2 (patch)
tree9c186fa1b83585cd1f7f82351b8c8d061bfd6395 /nixos/modules/services/networking/tinc.nix
parent4fc4793298c10b1d648a0f269bc44394d5171c9e (diff)
parent2431a34ffe50eeb382ea4d7f8d3984e9029d6e04 (diff)
downloadnixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.tar
nixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.tar.gz
nixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.tar.bz2
nixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.tar.lz
nixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.tar.xz
nixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.tar.zst
nixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.zip
Merge master into staging-next
Diffstat (limited to 'nixos/modules/services/networking/tinc.nix')
-rw-r--r--nixos/modules/services/networking/tinc.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/tinc.nix b/nixos/modules/services/networking/tinc.nix
index b6afd83a9ab..9e433ad1a98 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}")