about summary refs log tree commit diff
path: root/nixos/modules/services/x11/xserver.nix
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/x11/xserver.nix
parent3b0534310c89d04fc3a9c5714b5a4d0f9fb0efca (diff)
downloadnixlib-91bb646e98808d594b339d3386f7963a546ccfb4.tar
nixlib-91bb646e98808d594b339d3386f7963a546ccfb4.tar.gz
nixlib-91bb646e98808d594b339d3386f7963a546ccfb4.tar.bz2
nixlib-91bb646e98808d594b339d3386f7963a546ccfb4.tar.lz
nixlib-91bb646e98808d594b339d3386f7963a546ccfb4.tar.xz
nixlib-91bb646e98808d594b339d3386f7963a546ccfb4.tar.zst
nixlib-91bb646e98808d594b339d3386f7963a546ccfb4.zip
Revert "mass replace "flip map -> foreach""
This reverts commit 3b0534310c89d04fc3a9c5714b5a4d0f9fb0efca.
Diffstat (limited to 'nixos/modules/services/x11/xserver.nix')
-rw-r--r--nixos/modules/services/x11/xserver.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix
index 4d28a45c2ce3..82730c5e80c6 100644
--- a/nixos/modules/services/x11/xserver.nix
+++ b/nixos/modules/services/x11/xserver.nix
@@ -75,7 +75,7 @@ let
   in imap1 mkHead cfg.xrandrHeads;
 
   xrandrDeviceSection = let
-    monitors = foreach xrandrHeads (h: ''
+    monitors = flip map xrandrHeads (h: ''
       Option "monitor-${h.config.output}" "${h.name}"
     '');
     # First option is indented through the space in the config but any