From d978ad7e7bca5a346570a4b2d362bf83cbc9722d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 4 Jul 2015 00:16:56 +0200 Subject: Generated config for X on vali with nvidia-settings --- vali-X.conf | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ vali.nix | 1 + 2 files changed, 65 insertions(+) create mode 100644 vali-X.conf diff --git a/vali-X.conf b/vali-X.conf new file mode 100644 index 00000000..07337a2f --- /dev/null +++ b/vali-X.conf @@ -0,0 +1,64 @@ +# nvidia-settings: X configuration file generated by nvidia-settings +# nvidia-settings: version 340.76 (buildmeister@swio-display-x86-rhel47-01) Thu Jan 22 12:12:09 PST 2015 + +Section "ServerLayout" + Identifier "Layout0" + Screen 0 "Screen0" 0 0 + InputDevice "Keyboard0" "CoreKeyboard" + InputDevice "Mouse0" "CorePointer" + Option "Xinerama" "0" +EndSection + +Section "Files" +EndSection + +Section "InputDevice" + # generated from default + Identifier "Mouse0" + Driver "mouse" + Option "Protocol" "auto" + Option "Device" "/dev/input/mice" + Option "Emulate3Buttons" "no" + Option "ZAxisMapping" "4 5" +EndSection + +Section "InputDevice" + # generated from default + Identifier "Keyboard0" + Driver "kbd" +EndSection + +Section "Monitor" + # HorizSync source: edid, VertRefresh source: edid + Identifier "Monitor0" + VendorName "Unknown" + ModelName "Ancor Communications Inc ASUS PB287Q" + HorizSync 24.0 - 160.0 + VertRefresh 30.0 - 80.0 + Option "DPMS" +EndSection + +Section "Device" + Identifier "Device0" + Driver "nvidia" + VendorName "NVIDIA Corporation" + BoardName "GeForce GTX 480" + BusID "PCI:1:0:0" +EndSection + +Section "Screen" + Identifier "Screen0" + Device "Device0" + Monitor "Monitor0" + DefaultDepth 24 + Option "Stereo" "0" + Option "nvidiaXineramaInfoOrder" "DFP-1" + Option "metamodes" "GPU-56c70ba9-8016-11a3-8e55-fef1dc4f9f2a.HDMI-0: nvidia-auto-select +1920+0, GPU-56c70ba9-8016-11a3-8e55-fef1dc4f9f2a.DVI-I-3: nvidia-auto-select +0+0, GPU-9675293c-99a7-a649-b0e1-ce7030f8e486.DVI-I-2: nvidia-auto-select +3840+0" + Option "MultiGPU" "Off" + Option "SLI" "off" + Option "BaseMosaic" "on" + SubSection "Display" + Depth 24 + EndSubSection +EndSection + diff --git a/vali.nix b/vali.nix index c15d03e8..555b9caf 100644 --- a/vali.nix +++ b/vali.nix @@ -113,6 +113,7 @@ rec { xkbOptions = "compose:caps"; videoDrivers = [ "nvidia" ]; + config = builtins.readFile ./vali-X.conf; }; hardware.opengl.driSupport32Bit = true; -- cgit v1.2.3