From 60a25bfce3117e776185296cf3b31f6b28f9b173 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Tue, 10 Jan 2023 20:18:16 -0500 Subject: [PATCH] levi: hardcode DP monitor settings --- hosts/levi/optimus.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/levi/optimus.nix b/hosts/levi/optimus.nix index e571251..68c3434 100644 --- a/hosts/levi/optimus.nix +++ b/hosts/levi/optimus.nix @@ -46,6 +46,9 @@ let boot.kernelParams = [ "module_blacklist=i915" ]; services.xserver.displayManager.gdm.wayland = false; services.xserver.videoDrivers = [ "nvidia" ]; + services.xserver.screenSection = '' + Option "metamodes" "DP-2: 2560x1440_165 +0+0 {AllowGSYNCCompatible=On}" + ''; }; intel = {