From 5b7e7bb42966d0b780861f772074604802d22f4a Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Fri, 30 Dec 2011 23:26:11 +0000 Subject: services.xserver.xkbVariant svn path=/nixos/trunk/; revision=31165 --- modules/services/x11/xserver.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/services/x11/xserver.nix') diff --git a/modules/services/x11/xserver.nix b/modules/services/x11/xserver.nix index f1e8044fc6b0..cbd0741c8445 100644 --- a/modules/services/x11/xserver.nix +++ b/modules/services/x11/xserver.nix @@ -228,6 +228,14 @@ in ''; }; + xkbVariant = mkOption { + default = ""; + example = "colemak"; + description = '' + X keyboard variant. + ''; + }; + config = mkOption { description = '' The contents of the configuration file of the X server @@ -463,6 +471,7 @@ in Option "XkbModel" "${cfg.xkbModel}" Option "XkbLayout" "${cfg.layout}" Option "XkbOptions" "${cfg.xkbOptions}" + Option "XkbVariant" "${cfg.xkbVariant}" EndSection Section "ServerLayout" -- cgit 1.4.1