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/quicktun.nix | |
parent | aa8868c7cca8d30706a68a876d048968c83e1cf1 (diff) |
treewide: fold -> foldr
Diffstat (limited to 'nixos/modules/services/networking/quicktun.nix')
-rw-r--r-- | nixos/modules/services/networking/quicktun.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/quicktun.nix b/nixos/modules/services/networking/quicktun.nix index fb783c836464d..438e67d5ebb65 100644 --- a/nixos/modules/services/networking/quicktun.nix +++ b/nixos/modules/services/networking/quicktun.nix @@ -87,7 +87,7 @@ with lib; }; config = mkIf (cfg != []) { - systemd.services = fold (a: b: a // b) {} ( + systemd.services = foldr (a: b: a // b) {} ( mapAttrsToList (name: qtcfg: { "quicktun-${name}" = { wantedBy = [ "multi-user.target" ]; |