mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
Working multi-GPU/single-GPU setup
This commit is contained in:
parent
84b15db0af
commit
1d06b35262
12 changed files with 317 additions and 87 deletions
61
misc/2-monitor.conf
Normal file
61
misc/2-monitor.conf
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
Section "ServerFlags"
|
||||
Option "AllowMouseOpenFail" "on"
|
||||
Option "DontZap" "on"
|
||||
|
||||
EndSection
|
||||
|
||||
Section "Monitor"
|
||||
Identifier "Monitor[0]"
|
||||
|
||||
EndSection
|
||||
|
||||
Section "InputClass"
|
||||
Identifier "libinput mouse configuration"
|
||||
MatchDriver "libinput"
|
||||
MatchIsPointer "on"
|
||||
Option "AccelProfile" "adaptive"
|
||||
Option "LeftHanded" "off"
|
||||
Option "MiddleEmulation" "on"
|
||||
Option "NaturalScrolling" "off"
|
||||
Option "ScrollMethod" "twofinger"
|
||||
Option "HorizontalScrolling" "on"
|
||||
Option "SendEventsMode" "enabled"
|
||||
Option "Tapping" "on"
|
||||
Option "TappingDragLock" "on"
|
||||
Option "DisableWhileTyping" "off"
|
||||
EndSection
|
||||
|
||||
|
||||
Section "ServerLayout"
|
||||
Identifier "Layout[all]"
|
||||
Inactive "Device-amdgpu[0]"
|
||||
Screen "Screen-nvidia[0]"
|
||||
EndSection
|
||||
|
||||
|
||||
Section "Device"
|
||||
Identifier "Device-amdgpu[0]"
|
||||
Driver "amdgpu"
|
||||
BusID "PCI:15:0:0"
|
||||
EndSection
|
||||
|
||||
|
||||
Section "Device"
|
||||
Identifier "Device-nvidia[0]"
|
||||
Driver "nvidia"
|
||||
BusID "PCI:1:0:0"
|
||||
EndSection
|
||||
|
||||
Section "Screen"
|
||||
Identifier "Screen-nvidia[0]"
|
||||
Device "Device-nvidia[0]"
|
||||
Option "RandRRotation" "on"
|
||||
Option "AllowEmptyInitialConfiguration"
|
||||
EndSection
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue