This commit is contained in:
muon 2024-06-14 14:36:36 +00:00
parent 0cc9a3c8b6
commit b5e7be0747
4 changed files with 42 additions and 25 deletions

View file

@ -1,6 +1,7 @@
{ config, lib, pkgs, inputs, system, ... }:
let
cfg = config.mods;
res = "2560x1440";
in {
# Hardware
imports = [
@ -41,12 +42,13 @@ in {
services.xserver.libinput.mouse.accelProfile = "flat";
## Monitors
mods.monitor.main.resolution = res;
services.xserver.xrandrHeads = [
{
output = "DP-2";
primary = true;
monitorConfig = ''
Option "PreferredMode" "2560x1440"
Option "PreferredMode" "${res}"
Option "Position" "0x480"
'';
}