nixpkgs/nixos/modules/services
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
..
amqp nixos manuals: bring back package references 2016-02-03 14:47:14 +01:00
audio Remove static uid/gid 2017-03-18 13:54:39 +01:00
backup sitecopy: remove 2017-03-30 12:06:09 +02:00
cluster Merge pull request #24921 from peterhoeg/f/k8s 2017-04-15 10:43:25 +02:00
computing nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
continuous-integration treewide: use boolToString function 2017-04-11 18:18:53 +02:00
databases treewide: use boolToString function 2017-04-11 18:18:53 +02:00
desktops psd service: assert that at least one user must be configured 2016-12-10 20:35:44 +01:00
development hoogle service: fixups 2016-04-22 03:58:08 +02:00
editors Merge pull request #22508 from matthewbauer/remove-emacs24macport 2017-03-18 22:19:20 +01:00
games factorio: remove autosave-interval from command-line options 2017-01-25 21:39:37 +01:00
hardware bluetooth: use upstream's recommendation for enabling interfaces 2017-04-16 16:57:11 +08:00
logging treewide: use boolToString function 2017-04-11 18:18:53 +02:00
mail Merge pull request #21866 from pjones/pjones/rmilter 2017-03-20 20:50:56 +01:00
misc Merge pull request #24900 from pjones/pjones/plex-service 2017-04-16 13:09:26 +01:00
monitoring Merge pull request #24974 from Ericson2314/mapNullable 2017-04-17 17:12:14 -04:00
network-filesystems treewide: use boolToString function 2017-04-11 18:18:53 +02:00
networking keepalived service: init (#22755) 2017-04-20 12:50:59 +01:00
printing cups: split the $lib output 2017-03-12 18:36:30 +01:00
scheduling fcron: do not chmod at all 2017-04-13 12:28:19 +02:00
search nixos/modules: use defaultText where applicable 2016-11-21 16:35:15 +01:00
security treewide: use boolToString function 2017-04-11 18:18:53 +02:00
system earlyoom service: init 2017-03-24 23:16:16 +01:00
torrent treewide: use boolToString function 2017-04-11 18:18:53 +02:00
ttys kmscon service: disable systemd-vconsole-setup 2017-03-01 13:47:34 +03:00
web-apps treewide: use boolToString function 2017-04-11 18:18:53 +02:00
web-servers nixos/lighttpd: set $HOME for gitweb sub-service 2017-04-11 22:54:31 +02:00
x11 nixos/xserver: Fix up/refactor xrandrHeads option 2017-04-24 11:22:55 +02:00