From dfe70000b60e91d4e8d0b3ebd02ecf1cfba90445 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Thu, 6 Apr 2023 17:49:24 +0200 Subject: [PATCH] Autorandr: odin nvidia and crtr --- hm_modules/autorandr.nix | 44 +++++++++++++++------------------------- 1 file changed, 16 insertions(+), 28 deletions(-) diff --git a/hm_modules/autorandr.nix b/hm_modules/autorandr.nix index 0b18b21..58c132f 100644 --- a/hm_modules/autorandr.nix +++ b/hm_modules/autorandr.nix @@ -27,7 +27,6 @@ "eDP-1-1" = { inherit (dell-laptop) mode dpi; primary = true; - crtc = 0; }; }; }; @@ -38,7 +37,6 @@ "eDP1" = { inherit (dell-laptop) mode dpi; primary = true; - crtc = 0; }; }; }; @@ -51,12 +49,10 @@ config = { "DP1-2" = { inherit (schermo_lab_dp) mode dpi; - crtc = 0; primary = true; }; "eDP1" = { inherit (dell-laptop) mode dpi; - crtc = 1; position = "0x1080"; }; }; @@ -70,12 +66,10 @@ config = { "DP-1-1-2" = { inherit (schermo_lab_dp) mode dpi; - crtc = 0; primary = true; }; "eDP-1-1" = { inherit (dell-laptop) mode dpi; - crtc = 1; position = "0x1080"; }; }; @@ -89,35 +83,31 @@ config = { "DP1" = { inherit (lab_screen) mode dpi; - crtc = 0; primary = true; }; "eDP1" = { inherit (dell-laptop) mode dpi; - crtc = 1; position = "320x1440"; }; }; }; - # odin-nvidia-lab-screen = { - # fingerprint = { - # "DP-1-1" = nuovo_schermo_lab.fingerprint; - # "eDP-1-1" = dell-laptop.fingerprint; - # }; - # config = { - # "DP-1-1" = { - # inherit (nuovo_schermo_lab) mode dpi; - # crtc = 0; - # primary = true; - # }; - # "eDP-1-1" = { - # inherit (dell-laptop) mode dpi; - # crtc = 1; - # position = "320x1440"; - # }; - # }; - # }; + odin-nvidia-lab-screen = { + fingerprint = { + "DP-1-1" = lab_screen.fingerprint; + "eDP-1-1" = dell-laptop.fingerprint; + }; + config = { + "DP-1-1" = { + inherit (lab_screen) mode dpi; + primary = true; + }; + "eDP-1-1" = { + inherit (dell-laptop) mode dpi; + position = "320x1440"; + }; + }; + }; thor-default = { fingerprint = { @@ -128,14 +118,12 @@ }; config = { "DP-2" = { - crtc = 0; mode = "2560x1440"; position = "1080x162"; primary = true; dpi = 96; }; "HDMI-0" = { - crtc = 1; mode = "1920x1080"; position = "0x0"; rotate = "right";