forked from colonelpanic/dotfiles
[NixOS] Only enable nvidia drivers on imalison-home
This commit is contained in:
parent
8c62a65c1c
commit
0840cc8686
@ -98,7 +98,6 @@ in
|
||||
pommed_light
|
||||
rofi
|
||||
rofi-pass
|
||||
sddm-kcm
|
||||
udiskie-appindicator
|
||||
volnoti
|
||||
xclip
|
||||
@ -179,7 +178,6 @@ in
|
||||
exportConfiguration = true;
|
||||
enable = true;
|
||||
layout = "us";
|
||||
videoDrivers = [ "nvidia" ];
|
||||
desktopManager = {
|
||||
gnome3.enable = true;
|
||||
default = "none";
|
||||
|
@ -52,15 +52,18 @@
|
||||
networking.hostName = "imalison-home";
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
services.xserver.screenSection = ''
|
||||
DefaultDepth 24
|
||||
Option "RegistryDwords" "PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1"
|
||||
Option "TripleBuffer" "True"
|
||||
Option "Stereo" "0"
|
||||
Option "nvidiaXineramaInfoOrder" "DFP-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 "SLI" "Off"
|
||||
Option "MultiGPU" "Off"
|
||||
Option "BaseMosaic" "off"
|
||||
'';
|
||||
services.xserver = {
|
||||
screenSection = ''
|
||||
DefaultDepth 24
|
||||
Option "RegistryDwords" "PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1"
|
||||
Option "TripleBuffer" "True"
|
||||
Option "Stereo" "0"
|
||||
Option "nvidiaXineramaInfoOrder" "DFP-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 "SLI" "Off"
|
||||
Option "MultiGPU" "Off"
|
||||
Option "BaseMosaic" "off"
|
||||
'';
|
||||
videoDrivers = [ "nvidia" ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user