nixpkgs-suyu/nixos/modules
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
..
config treewide: use boolToString function 2017-04-11 18:18:53 +02:00
hardware rtl8192su-firmware: init at unstable-2016-10-05 2017-03-31 10:49:38 +02:00
i18n/input-method Remove top-level kde5 attribute 2017-02-27 11:49:10 -06:00
installer Refactor nixos-install to separate out filesystem build logic 2017-04-16 16:09:41 +00:00
misc Remove static uid/gid 2017-03-18 13:54:39 +01:00
profiles nixos: fix renaming warning in graphical profile 2017-03-03 07:27:41 -06:00
programs Merge pull request #24962 from makefu/modules/command-not-found/refactor 2017-04-18 17:18:20 +02:00
security acme: Add "domain" option to separate domain from name 2017-04-11 18:28:05 +02:00
services nixos/xserver: Fix up/refactor xrandrHeads option 2017-04-24 11:22:55 +02:00
system nixos/systemd-boot-builder: Don't write .pyc files 2017-04-20 00:37:02 +02:00
tasks network-interfaces-scripted: Add static parameter for default gateway 2017-04-16 22:59:53 +02:00
testing kdm: drop service 2017-02-11 13:55:09 -05:00
virtualisation Merge pull request #24360 from clefru/gce-image-shrink-on-master 2017-04-10 12:01:53 +02:00
module-list.nix keepalived service: init (#22755) 2017-04-20 12:50:59 +01:00
rename.nix nixos/fontconfig: remove renderMonoTTFAsBitmap 2017-04-03 08:24:32 -05:00