1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00
nixpkgs/nixos/modules/services/x11
aszlig 8266c89b55
nixos/xserver: Fix up/refactor xrandrHeads option
Using invalid module options in the submodule isn't very nice, because
it doesn't give very useful errors in case of type mismatch, also we
don't get descriptions of these options as they're effecively
nonexistent to the module system. Another downside of this is that
merging of these options isn't done correctly as well (eg. for
types.lines).

So we now have proper submodules for each xrandrHead and we also use
corcedTo in the type of xrandrHeads so that we can populate the
submodule's "output" option in case a plain string is defined for a list
item.

Instead of silently skipping multiple primary heads, we now have an
assertion, which displays a message and aborts configuration evaluation
appropriately.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2017-04-24 11:22:55 +02:00
..
desktop-managers Merge pull request #24026 from benley/use-xkbDir 2017-03-23 18:02:26 +01:00
display-managers display-manager: fix argument handling of sddm 2017-04-18 01:41:17 +02:00
hardware treewide: use boolToString function 2017-04-11 18:18:53 +02:00
window-managers Merge pull request #24651 from edanaher/add-fvwm-window-manager 2017-04-06 16:29:28 +03:00
colord.nix colord service: init 2016-03-11 01:58:40 +03:00
compton.nix nixos/compton: fixup option descriptions (#24724) 2017-04-08 05:04:55 +01:00
redshift.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
terminal-server.nix nixos: update default cases from KDM/KDE4 to SDDM/KDE5 2017-02-09 21:52:00 -05:00
unclutter-xfixes.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
unclutter.nix unclutter: Fix default value of $DISPLAY 2017-04-03 18:41:11 +01:00
urxvtd.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
xbanish.nix xbanish service: init at 1.4 2016-06-07 23:58:06 -07:00
xfs.conf
xfs.nix jobs -> systemd.services 2016-01-07 06:39:06 +00:00
xserver.nix nixos/xserver: Fix up/refactor xrandrHeads option 2017-04-24 11:22:55 +02:00