Try to get screen settings to work

This commit is contained in:
GHOSCHT 2023-10-15 20:21:26 +02:00
parent 47547b9367
commit ab832da3d3
No known key found for this signature in database

View file

@ -24,17 +24,57 @@ with lib; {
xserver = { xserver = {
enable = true; enable = true;
layout = "de"; layout = "de";
# dpi = 180;
libinput.enable = true; libinput.enable = true;
modules = [pkgs.xf86_input_wacom]; modules = [pkgs.xf86_input_wacom];
wacom.enable = true; wacom.enable = true;
windowManager.awesome.enable = true; windowManager.awesome.enable = true;
screenSection = '' # deviceSection = ''
Option "metamodes" "DP-4: 2560x1440_144 +1920+0, DP-0: 1920x1080_75 +0+0" # Identifier "Device0"
''; # Driver "nvidia"
# VendorName "NVIDIA Corporation"
# BoardName "NVIDIA GeForce RTX 2070 SUPER"
# '';
# serverLayoutSection = ''
# Identifier "Mouse0"
# Driver "mouse"
# Option "Protocol" "auto"
# Option "Device" "/dev/input/mice"
# Option "Emulate3Buttons" "no"
# Option "ZAxisMapping" "4 5"
# '';
# monitorSection = ''
# Identifier "Monitor0"
# VendorName "Unknown"
# ModelName "Acer XF270HU"
# HorizSync 222.0 - 222.0
# VertRefresh 40.0 - 144.0
# Option "DPMS"
# '';
# screenSection = ''
# Identifier "Screen0"
# Device "Device0"
# Monitor "Monitor0"
# DefaultDepth 24
# Option "Stereo" "0"
# Option "nvidiaXineramaInfoOrder" "DFP-5"
# Option "metamodes" "DP-4: 2560x1440_144 +1920+0, DP-0: 1920x1080_75 +0+0"
# Option "SLI" "Off"
# Option "MultiGPU" "Off"
# Option "BaseMosaic" "off"
# SubSection "Display"
# Depth 24
# EndSubSection
# '';
}; };
}; };
home-manager.users.${vars.user} = { home-manager.users.${vars.user} = {
home.file.".wallpapers" = {
source = ../../rsc/wallpaper;
recursive = true;
};
home.file.".config/awesome/" = { home.file.".config/awesome/" = {
source = ../../rsc/config/awesome; source = ../../rsc/config/awesome;
recursive = true; recursive = true;