Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # X11 & GUI
- services.xserver.enable = true;
- services.xserver.enableCtrlAltBackspace = true;
- services.xserver.desktopManager = {
- xfce.enable = true;
- default = "xfce";
- };
- nixpkgs.config.allowUnfree = true;
- services.xserver.videoDrivers = [ "nvidia" ];
- services.xserver.deviceSection = ''
- # Option "Monitor-DFP0" "DVI2"
- # Option "Monitor-DFP5" "Monitor[0]"
- # '';
- # services.xserver.monitorSection = ''
- # Identifier "DVI1"
- # Option "PreferredMode" "2560x1440"
- # Identifier "DVI2"
- # Option "PreferredMode" "1920x1080"
- # Option "LeftOf" "DVI1"
- # '';
- # services.xserver.screenSection = ''
- # Monitor "DVI1"
- # Monitor "DVI2"
- # DefaultDepth 24
- # SubSection "Display"
- # Depth 24
- # Virtual 4480 1440
- # EndSubSection
- # '';
- # services.xserver.monitorSection = ''
- # Identifier "Monitor0"
- # ModelName "Idek Iiyama XB2776QS-B1"
- # HorizSync 30.0 - 90.0
- # VertRefresh 55.0 - 76.0
- # Option "DPMS"
- # '';
- # services.xserver.monitorSection = ''
- # Option "PreferredMode" "2560x1440"
- # '';
- # services.xserver.screenSection = ''
- # Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
- # '';
- # services.xserver.screenSection = ''
- # Monitor "Monitor[0]"
- # DefaultDepth 24
- # Option "Stereo" "0"
- # Option "nvidiaXineramaInfoOrder" "DFP-5"
- # Option "metamodes" "DP-2: nvidia-auto-select +1920+0, DVI-D-0: nvidia-auto-select +0+0"
- # SubSection "Display"
- # Depth 24
- # EndSubSection
- # '';
- # services.autorandr.enable = true;
- # services.xserver.virtualScreen = { x = 4480; y = 1440; };
- # services.xserver.xrandrHeads = [ "DP-2"
- # { output = "DP-2"; primary = true; }
- # { monitorConfig = '' Option "left" '';
- # output = "DVI-D-0";
- # }
- # ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement