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
54
misc/1-monitor.conf
Normal file
54
misc/1-monitor.conf
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
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 "ServerFlags"
|
||||
Option "StandbyTime" "0"
|
||||
Option "SuspendTime" "0"
|
||||
Option "OffTime" "0"
|
||||
Option "BlankTime" "0"
|
||||
EndSection
|
||||
|
||||
Section "ServerLayout"
|
||||
Identifier "X.org Configured"
|
||||
Screen 0 "Screen0" 0 0
|
||||
EndSection
|
||||
|
||||
Section "Module"
|
||||
Load "glx"
|
||||
EndSection
|
||||
Section "Monitor"
|
||||
Identifier "Monitor0"
|
||||
VendorName "Monitor Vendor"
|
||||
ModelName "Monitor Model"
|
||||
Option "Primary" "true"
|
||||
Modeline "1920x1080_144" 332.75 1920 1952 2016 2080 1080 1084 1089 1111 +HSync +VSync
|
||||
Option "PreferredMode" "1920x1080_144"
|
||||
Option "DPMS" "false"
|
||||
EndSection
|
||||
Section "Device"
|
||||
|
||||
Identifier "Card0"
|
||||
Driver "amdgpu"
|
||||
BusID "PCI:15:0:0"
|
||||
EndSection
|
||||
Section "Screen"
|
||||
Identifier "Screen0"
|
||||
Device "Card0"
|
||||
Monitor "Monitor0"
|
||||
Option "TearFree" "true"
|
||||
EndSection
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
71
misc/alacritty.yml
Normal file
71
misc/alacritty.yml
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
window:
|
||||
dimensions:
|
||||
columns: 100
|
||||
lines: 85
|
||||
padding:
|
||||
x: 0
|
||||
y: 0
|
||||
dynamic_padding: false
|
||||
decorations: None
|
||||
startup_mode: Windowed
|
||||
opacity: 1.0
|
||||
scrolling:
|
||||
history: 5000
|
||||
multiplier: 5
|
||||
font:
|
||||
size: 10.0
|
||||
offset:
|
||||
x: 0
|
||||
y: 0
|
||||
glyph_offset:
|
||||
x: 0
|
||||
y: 0
|
||||
custom_cursor_colors: true
|
||||
colors:
|
||||
primary:
|
||||
background: '#080808'
|
||||
foreground: '#b2b2b2'
|
||||
bright_foreground: '#eeeeee'
|
||||
|
||||
cursor:
|
||||
text: '#080808'
|
||||
cursor: '#9e9e9e'
|
||||
|
||||
selection:
|
||||
text: '#080808'
|
||||
background: '#b2ceee'
|
||||
|
||||
normal:
|
||||
black: '#323437'
|
||||
red: '#ff5454'
|
||||
green: '#8cc85f'
|
||||
yellow: '#e3c78a'
|
||||
blue: '#80a0ff'
|
||||
magenta: '#cf87e8'
|
||||
cyan: '#79dac8'
|
||||
white: '#c6c6c6'
|
||||
|
||||
bright:
|
||||
black: '#949494'
|
||||
red: '#ff5189'
|
||||
green: '#36c692'
|
||||
yellow: '#c2c292'
|
||||
blue: '#74b2ff'
|
||||
magenta: '#ae81ff'
|
||||
cyan: '#85dc85'
|
||||
white: '#e4e4e4'
|
||||
bell:
|
||||
animation: EaseOutExpo
|
||||
color: '#ffffff'
|
||||
duration: 0
|
||||
selection:
|
||||
semantic_escape_chars: ",│`|:\"' ()[]{}<>"
|
||||
save_to_clipboard: false
|
||||
|
||||
mouse:
|
||||
double_click: { threshold: 300 }
|
||||
triple_click: { threshold: 300 }
|
||||
hide_when_typing: true
|
||||
cursor:
|
||||
style: Beam
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue