* Specify the location of XKeyboard related stuff.
svn path=/nixos/trunk/; revision=8501
This commit is contained in:
parent
1bd112d4a7
commit
100efeeafe
@ -134,7 +134,7 @@ import ../upstart-jobs/gather.nix {
|
|||||||
(import ../upstart-jobs/xserver.nix {
|
(import ../upstart-jobs/xserver.nix {
|
||||||
inherit config;
|
inherit config;
|
||||||
inherit (pkgs) stdenv writeText lib xterm slim xorg mesa
|
inherit (pkgs) stdenv writeText lib xterm slim xorg mesa
|
||||||
gnome compiz feh kdebase kdelibs;
|
gnome compiz feh kdebase kdelibs xkeyboard_config;
|
||||||
fontDirectories = import ./fonts.nix {inherit pkgs;};
|
fontDirectories = import ./fonts.nix {inherit pkgs;};
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, writeText, lib, xorg, mesa, xterm, slim, gnome
|
{ stdenv, writeText, lib, xorg, mesa, xterm, slim, gnome
|
||||||
, compiz, feh
|
, compiz, feh
|
||||||
, kdelibs, kdebase
|
, kdelibs, kdebase
|
||||||
|
, xkeyboard_config
|
||||||
|
|
||||||
, config
|
, config
|
||||||
|
|
||||||
@ -86,6 +87,12 @@ let
|
|||||||
source /etc/profile
|
source /etc/profile
|
||||||
|
|
||||||
exec > $HOME/.Xerrors 2>&1
|
exec > $HOME/.Xerrors 2>&1
|
||||||
|
|
||||||
|
|
||||||
|
# Load X defaults.
|
||||||
|
if test -e ~/.Xdefaults; then
|
||||||
|
${xorg.xrdb}/bin/xrdb -merge ~/.Xdefaults
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
### Start a window manager.
|
### Start a window manager.
|
||||||
@ -171,6 +178,7 @@ let
|
|||||||
"-logfile" "/var/log/X.${toString display}.log"
|
"-logfile" "/var/log/X.${toString display}.log"
|
||||||
"-config ${configFile}"
|
"-config ${configFile}"
|
||||||
":${toString display}" "vt${toString tty}"
|
":${toString display}" "vt${toString tty}"
|
||||||
|
"-xkbdir" "${xkeyboard_config}/etc/X11/xkb"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@ -192,6 +200,8 @@ rec {
|
|||||||
|
|
||||||
extraPath = [
|
extraPath = [
|
||||||
xorg.xrandr
|
xorg.xrandr
|
||||||
|
xorg.xrdb
|
||||||
|
xorg.setxkbmap
|
||||||
feh
|
feh
|
||||||
]
|
]
|
||||||
++ optional (windowManager == "twm") [
|
++ optional (windowManager == "twm") [
|
||||||
@ -232,6 +242,7 @@ rec {
|
|||||||
|
|
||||||
env SLIM_CFGFILE=${slimConfig}
|
env SLIM_CFGFILE=${slimConfig}
|
||||||
env FONTCONFIG_FILE=/etc/fonts/fonts.conf # !!! cleanup
|
env FONTCONFIG_FILE=/etc/fonts/fonts.conf # !!! cleanup
|
||||||
|
env XKB_BINDIR=${xorg.xkbcomp}/bin # Needed for the Xkb extension.
|
||||||
|
|
||||||
${if getCfg "driSupport"
|
${if getCfg "driSupport"
|
||||||
then "env XORG_DRI_DRIVER_PATH=${mesa}/lib/modules/dri"
|
then "env XORG_DRI_DRIVER_PATH=${mesa}/lib/modules/dri"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user