Skip to content

Instantly share code, notes, and snippets.

@smkuehnhold
Created March 19, 2022 20:59
Show Gist options
  • Save smkuehnhold/0cd081fcf7a5ac362850f735111f8b81 to your computer and use it in GitHub Desktop.
Save smkuehnhold/0cd081fcf7a5ac362850f735111f8b81 to your computer and use it in GitHub Desktop.
Section "Files"
FontPath "/nix/store/632n4xlg34680fr8byv709klnmfg0237-unifont-14.0.01/share/fonts"
FontPath "/nix/store/07q3cdq7dij53fysrxdml5z7wf8543fk-font-xfree86-type1-1.0.4/lib/X11/fonts/Type1"
FontPath "/nix/store/izn2hvidpv6dy40ag7jrkglvcqcx3saq-font-misc-misc-1.1.2/lib/X11/fonts/misc"
FontPath "/nix/store/grqmkmy5yfhwbq330ymw4w77sf4pyfsq-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi"
FontPath "/nix/store/01brda3762mcc57f1ffpy83a11jki3pw-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi"
ModulePath "/nix/store/i62x9pgn9rkgg04py78jwvr6lzggk1ny-xf86-video-amdgpu-21.0.0/lib/xorg/modules/drivers"
ModulePath "/nix/store/mxg8z2h658hgdpv6gcyyjk4xbnj601gp-xorg-server-1.20.13/lib/xorg/modules"
ModulePath "/nix/store/mxg8z2h658hgdpv6gcyyjk4xbnj601gp-xorg-server-1.20.13/lib/xorg/modules/drivers"
ModulePath "/nix/store/mxg8z2h658hgdpv6gcyyjk4xbnj601gp-xorg-server-1.20.13/lib/xorg/modules/extensions"
ModulePath "/nix/store/g5a5i49hki93d906gifgnlfrzxi7sqjz-xf86-input-evdev-2.10.6/lib/xorg/modules/input"
ModulePath "/nix/store/4xa932i1inv1gg19g1pqj5r6dndb6hbc-xf86-input-libinput-1.2.0/lib/xorg/modules/input"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
Option "DontZap" "on"
EndSection
Section "Module"
EndSection
Section "Monitor"
Identifier "Monitor[0]"
EndSection
# Additional "InputClass" sections
Section "InputClass"
Identifier "libinput mouse configuration"
MatchDriver "libinput"
MatchIsPointer "on"
Option "AccelProfile" "adaptive"
Option "LeftHanded" "off"
Option "MiddleEmulation" "off"
Option "NaturalScrolling" "off"
Option "ScrollMethod" "twofinger"
Option "HorizontalScrolling" "on"
Option "SendEventsMode" "enabled"
Option "Tapping" "off"
Option "TappingDragLock" "on"
Option "DisableWhileTyping" "off"
EndSection
Section "InputClass"
Identifier "libinput touchpad configuration"
MatchDriver "libinput"
MatchIsTouchpad "on"
Option "AccelProfile" "adaptive"
Option "ClickMethod" "clickfinger"
Option "LeftHanded" "off"
Option "MiddleEmulation" "on"
Option "NaturalScrolling" "on"
Option "ScrollMethod" "twofinger"
Option "HorizontalScrolling" "on"
Option "SendEventsMode" "enabled"
Option "Tapping" "off"
Option "TappingDragLock" "on"
Option "DisableWhileTyping" "on"
EndSection
Section "ServerLayout"
Identifier "Layout[all]"
# Reference the Screen sections for each driver. This will
# cause the X server to try each in turn.
Screen "Screen-amdgpu[0]"
Screen "Screen-modesetting[0]"
EndSection
# For each supported driver, add a "Device" and "Screen"
# section.
Section "Device"
Identifier "Device-amdgpu[0]"
Driver "amdgpu"
EndSection
Section "Screen"
Identifier "Screen-amdgpu[0]"
Device "Device-amdgpu[0]"
EndSection
Section "Device"
Identifier "Device-modesetting[0]"
Driver "modesetting"
EndSection
Section "Screen"
Identifier "Screen-modesetting[0]"
Device "Device-modesetting[0]"
EndSection
Section "Monitor"
Identifier "Monitor[1]"
Modeline "1920x1080x144.0" 325.08 1920 1944 1976 2056 1080 1083 1088 1098 +hsync +vsync
EndSection
Section "Device"
Identifier "Device-amdgpu[0]"
Driver "amdgpu"
BusID "PCI:130:0:0"
Option "AllowExternalGpus" "True"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Screen"
Identifier "Screen-amdgpu[0]"
Device "Device-amdgpu[0]"
Monitor "Monitor[1]"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment