Advertisement
Guest User

Untitled

a guest
Mar 5th, 2018
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. # X11 & GUI
  2. services.xserver.enable = true;
  3. services.xserver.enableCtrlAltBackspace = true;
  4. services.xserver.desktopManager = {
  5. xfce.enable = true;
  6. default = "xfce";
  7. };
  8.  
  9.  
  10. nixpkgs.config.allowUnfree = true;
  11. services.xserver.videoDrivers = [ "nvidia" ];
  12.  
  13. services.xserver.deviceSection = ''
  14. # Option "Monitor-DFP0" "DVI2"
  15. # Option "Monitor-DFP5" "Monitor[0]"
  16. # '';
  17.  
  18. # services.xserver.monitorSection = ''
  19. # Identifier "DVI1"
  20. # Option "PreferredMode" "2560x1440"
  21. # Identifier "DVI2"
  22. # Option "PreferredMode" "1920x1080"
  23. # Option "LeftOf" "DVI1"
  24. # '';
  25.  
  26. # services.xserver.screenSection = ''
  27. # Monitor "DVI1"
  28. # Monitor "DVI2"
  29. # DefaultDepth 24
  30. # SubSection "Display"
  31. # Depth 24
  32. # Virtual 4480 1440
  33. # EndSubSection
  34. # '';
  35.  
  36.  
  37. # services.xserver.monitorSection = ''
  38. # Identifier "Monitor0"
  39. # ModelName "Idek Iiyama XB2776QS-B1"
  40. # HorizSync 30.0 - 90.0
  41. # VertRefresh 55.0 - 76.0
  42. # Option "DPMS"
  43. # '';
  44.  
  45. # services.xserver.monitorSection = ''
  46. # Option "PreferredMode" "2560x1440"
  47. # '';
  48.  
  49. # services.xserver.screenSection = ''
  50. # Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
  51. # '';
  52.  
  53. # services.xserver.screenSection = ''
  54. # Monitor "Monitor[0]"
  55. # DefaultDepth 24
  56. # Option "Stereo" "0"
  57. # Option "nvidiaXineramaInfoOrder" "DFP-5"
  58. # Option "metamodes" "DP-2: nvidia-auto-select +1920+0, DVI-D-0: nvidia-auto-select +0+0"
  59. # SubSection "Display"
  60. # Depth 24
  61. # EndSubSection
  62. # '';
  63.  
  64. # services.autorandr.enable = true;
  65.  
  66.  
  67. # services.xserver.virtualScreen = { x = 4480; y = 1440; };
  68. # services.xserver.xrandrHeads = [ "DP-2"
  69. # { output = "DP-2"; primary = true; }
  70. # { monitorConfig = '' Option "left" '';
  71. # output = "DVI-D-0";
  72. # }
  73. # ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement