summary refs log tree commit diff
path: root/nixos/modules/services/networking/hylafax
diff options
context:
space:
mode:
authordanbst <abcz2.uprola@gmail.com>2019-08-05 14:01:45 +0300
committerdanbst <abcz2.uprola@gmail.com>2019-08-05 14:01:45 +0300
commit91bb646e98808d594b339d3386f7963a546ccfb4 (patch)
tree4390925c6087d284c11183193044835152f6cea5 /nixos/modules/services/networking/hylafax
parent3b0534310c89d04fc3a9c5714b5a4d0f9fb0efca (diff)
downloadnixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.tar
nixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.tar.gz
nixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.tar.bz2
nixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.tar.lz
nixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.tar.xz
nixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.tar.zst
nixpkgs-91bb646e98808d594b339d3386f7963a546ccfb4.zip
Revert "mass replace "flip map -> foreach""
This reverts commit 3b0534310c89d04fc3a9c5714b5a4d0f9fb0efca.
Diffstat (limited to 'nixos/modules/services/networking/hylafax')
-rw-r--r--nixos/modules/services/networking/hylafax/systemd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/hylafax/systemd.nix b/nixos/modules/services/networking/hylafax/systemd.nix
index 527026c0076..ef177e4be34 100644
--- a/nixos/modules/services/networking/hylafax/systemd.nix
+++ b/nixos/modules/services/networking/hylafax/systemd.nix
@@ -7,7 +7,7 @@ let
   inherit (lib) concatStringsSep optionalString;
 
   cfg = config.services.hylafax;
-  mapModems = lib.foreach (lib.attrValues cfg.modems);
+  mapModems = lib.flip map (lib.attrValues cfg.modems);
 
   mkConfigFile = name: conf:
     # creates hylafax config file,