From 1eff8b684a1d6b5880ad60b96058c6d29858c22f Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Sun, 20 Oct 2024 16:35:49 +0200 Subject: [PATCH] Thor: fix DP-3 --- instances/thor/configuration.nix | 5 +---- modules/hm/autorandr.nix | 4 ++-- modules/hm/hyprland.nix | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/instances/thor/configuration.nix b/instances/thor/configuration.nix index f4f3a79..d07e01d 100644 --- a/instances/thor/configuration.nix +++ b/instances/thor/configuration.nix @@ -267,10 +267,7 @@ options = "eurosign:e,terminate:ctrl_alt_bksp,compose:rctrl,grp:menu_toggle"; }; xrandrHeads = [ - { - primary = true; - output = "DP-2"; - } + { primary = true; output = "DP-3"; } ]; }; # gnome.gnome-remote-desktop.enable = true; diff --git a/modules/hm/autorandr.nix b/modules/hm/autorandr.nix index 180377a..fb10d2c 100644 --- a/modules/hm/autorandr.nix +++ b/modules/hm/autorandr.nix @@ -114,11 +114,11 @@ thor-default = { fingerprint = { - "DP-2" = "00ffffffffffff001e6d7f5ba1c60a00011f0104b53c22789f8cb5af4f43ab260e5054254b007140818081c0a9c0b300d1c08100d1cf09ec00a0a0a0675030203a0055502100001a000000fd0030901ee63c000a202020202020000000fc004c4720554c545241474541520a000000ff003130314e5454514c533230390a017102031a7123090607e305c000e606050160592846100403011f136fc200a0a0a0555030203a0055502100001a565e00a0a0a029503020350055502100001a5aa000a0a0a0465030203a005550210000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000da"; + "DP-3" = "00ffffffffffff001e6d7f5ba1c60a00011f0104b53c22789f8cb5af4f43ab260e5054254b007140818081c0a9c0b300d1c08100d1cf09ec00a0a0a0675030203a0055502100001a000000fd0030901ee63c000a202020202020000000fc004c4720554c545241474541520a000000ff003130314e5454514c533230390a017102031a7123090607e305c000e606050160592846100403011f136fc200a0a0a0555030203a0055502100001a565e00a0a0a029503020350055502100001a5aa000a0a0a0465030203a005550210000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000da"; "HDMI-0" = "00ffffffffffff004c2d2c0d443650302e19010380341d782a5295a556549d250e5054bb8c00b30081c0810081809500a9c001010101023a801871382d40582c450009252100001e000000fd0030481e5216000a202020202020000000fc00433234463339300a2020202020000000ff00485451483330353636370a20200163020324f14690041f131203230907078301000067030c001000802b681a00000101304800011d00bc52d01e20b828554009252100001e8c0ad090204031200c4055000925210000188c0ad08a20e02d10103e9600092521000018215280a07238304088c8350009252100001c00000000000000000000000000000000000000fa"; }; config = { - "DP-2" = { + "DP-3" = { mode = "2560x1440"; position = "1080x346"; primary = true; diff --git a/modules/hm/hyprland.nix b/modules/hm/hyprland.nix index e2a2926..8e2b149 100644 --- a/modules/hm/hyprland.nix +++ b/modules/hm/hyprland.nix @@ -67,7 +67,7 @@ ${ if nixosConfig.networking.hostName == "thor" then '' - monitor=DP-2,preferred,1080x420,auto + monitor=DP-3,preferred,1080x420,auto monitor=HDMI-A-1,preferred,0x0,auto,transform,3 '' else if nixosConfig.networking.hostName == "odin" then