diff options
| -rw-r--r-- | vali-X.conf | 64 | ||||
| -rw-r--r-- | vali.nix | 1 |
2 files changed, 65 insertions, 0 deletions
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 @@ | |||
| 1 | # nvidia-settings: X configuration file generated by nvidia-settings | ||
| 2 | # nvidia-settings: version 340.76 (buildmeister@swio-display-x86-rhel47-01) Thu Jan 22 12:12:09 PST 2015 | ||
| 3 | |||
| 4 | Section "ServerLayout" | ||
| 5 | Identifier "Layout0" | ||
| 6 | Screen 0 "Screen0" 0 0 | ||
| 7 | InputDevice "Keyboard0" "CoreKeyboard" | ||
| 8 | InputDevice "Mouse0" "CorePointer" | ||
| 9 | Option "Xinerama" "0" | ||
| 10 | EndSection | ||
| 11 | |||
| 12 | Section "Files" | ||
| 13 | EndSection | ||
| 14 | |||
| 15 | Section "InputDevice" | ||
| 16 | # generated from default | ||
| 17 | Identifier "Mouse0" | ||
| 18 | Driver "mouse" | ||
| 19 | Option "Protocol" "auto" | ||
| 20 | Option "Device" "/dev/input/mice" | ||
| 21 | Option "Emulate3Buttons" "no" | ||
| 22 | Option "ZAxisMapping" "4 5" | ||
| 23 | EndSection | ||
| 24 | |||
| 25 | Section "InputDevice" | ||
| 26 | # generated from default | ||
| 27 | Identifier "Keyboard0" | ||
| 28 | Driver "kbd" | ||
| 29 | EndSection | ||
| 30 | |||
| 31 | Section "Monitor" | ||
| 32 | # HorizSync source: edid, VertRefresh source: edid | ||
| 33 | Identifier "Monitor0" | ||
| 34 | VendorName "Unknown" | ||
| 35 | ModelName "Ancor Communications Inc ASUS PB287Q" | ||
| 36 | HorizSync 24.0 - 160.0 | ||
| 37 | VertRefresh 30.0 - 80.0 | ||
| 38 | Option "DPMS" | ||
| 39 | EndSection | ||
| 40 | |||
| 41 | Section "Device" | ||
| 42 | Identifier "Device0" | ||
| 43 | Driver "nvidia" | ||
| 44 | VendorName "NVIDIA Corporation" | ||
| 45 | BoardName "GeForce GTX 480" | ||
| 46 | BusID "PCI:1:0:0" | ||
| 47 | EndSection | ||
| 48 | |||
| 49 | Section "Screen" | ||
| 50 | Identifier "Screen0" | ||
| 51 | Device "Device0" | ||
| 52 | Monitor "Monitor0" | ||
| 53 | DefaultDepth 24 | ||
| 54 | Option "Stereo" "0" | ||
| 55 | Option "nvidiaXineramaInfoOrder" "DFP-1" | ||
| 56 | 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" | ||
| 57 | Option "MultiGPU" "Off" | ||
| 58 | Option "SLI" "off" | ||
| 59 | Option "BaseMosaic" "on" | ||
| 60 | SubSection "Display" | ||
| 61 | Depth 24 | ||
| 62 | EndSubSection | ||
| 63 | EndSection | ||
| 64 | |||
| @@ -113,6 +113,7 @@ rec { | |||
| 113 | xkbOptions = "compose:caps"; | 113 | xkbOptions = "compose:caps"; |
| 114 | 114 | ||
| 115 | videoDrivers = [ "nvidia" ]; | 115 | videoDrivers = [ "nvidia" ]; |
| 116 | config = builtins.readFile ./vali-X.conf; | ||
| 116 | }; | 117 | }; |
| 117 | 118 | ||
| 118 | hardware.opengl.driSupport32Bit = true; | 119 | hardware.opengl.driSupport32Bit = true; |
