[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,7 +52,8 @@
networking.hostName = "imalison-home"; networking.hostName = "imalison-home";
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
services.xserver.screenSection = '' services.xserver = {
screenSection = ''
DefaultDepth 24 DefaultDepth 24
Option "RegistryDwords" "PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1" Option "RegistryDwords" "PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1"
Option "TripleBuffer" "True" Option "TripleBuffer" "True"
@ -63,4 +64,6 @@
Option "MultiGPU" "Off" Option "MultiGPU" "Off"
Option "BaseMosaic" "off" Option "BaseMosaic" "off"
''; '';
videoDrivers = [ "nvidia" ];
};
} }