[NixOS] Only enable nvidia drivers on imalison-home

This commit is contained in:
Ivan Malison 2018-06-16 20:59:06 -07:00
parent 8c62a65c1c
commit 0840cc8686
2 changed files with 14 additions and 13 deletions

View File

@ -98,7 +98,6 @@ in
pommed_light pommed_light
rofi rofi
rofi-pass rofi-pass
sddm-kcm
udiskie-appindicator udiskie-appindicator
volnoti volnoti
xclip xclip
@ -179,7 +178,6 @@ in
exportConfiguration = true; exportConfiguration = true;
enable = true; enable = true;
layout = "us"; layout = "us";
videoDrivers = [ "nvidia" ];
desktopManager = { desktopManager = {
gnome3.enable = true; gnome3.enable = true;
default = "none"; default = "none";

View File

@ -52,15 +52,18 @@
networking.hostName = "imalison-home"; networking.hostName = "imalison-home";
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
services.xserver.screenSection = '' services.xserver = {
DefaultDepth 24 screenSection = ''
Option "RegistryDwords" "PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1" DefaultDepth 24
Option "TripleBuffer" "True" Option "RegistryDwords" "PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1"
Option "Stereo" "0" Option "TripleBuffer" "True"
Option "nvidiaXineramaInfoOrder" "DFP-0" Option "Stereo" "0"
Option "metamodes" "DVI-D-0: nvidia-auto-select +0+2160 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, HDMI-0: nvidia-auto-select +640+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, HDMI-1: nvidia-auto-select +2560+2160 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "SLI" "Off" Option "metamodes" "DVI-D-0: nvidia-auto-select +0+2160 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, HDMI-0: nvidia-auto-select +640+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, HDMI-1: nvidia-auto-select +2560+2160 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
Option "MultiGPU" "Off" Option "SLI" "Off"
Option "BaseMosaic" "off" Option "MultiGPU" "Off"
''; Option "BaseMosaic" "off"
'';
videoDrivers = [ "nvidia" ];
};
} }