diff --git a/hm_modules/autorandr.nix b/hm_modules/autorandr.nix index 83c9eb0..a7ce7c3 100644 --- a/hm_modules/autorandr.nix +++ b/hm_modules/autorandr.nix @@ -9,6 +9,11 @@ "00ffffffffffff0030e43f0500000000001a010495221378eaa1c59459578f27205054000000010101010101010101010101010101012e3680a070381f403020350058c21000001a5c2b80a070381f403020350058c21000001a000000fe0034584b3133803135365746360a000000000000413196001000000a010a202000c5"; mode = "1920x1080"; }; + schermo_lab_dp = { + dpi = 96; + fingerprint = "00ffffffffffff0010ac73404c47334428160104a5331d783bdd45a3554fa027125054a54b00714f8180d1c001010101010101010101023a801871382d40582c4500fe1f1100001e000000ff004b463837593241364433474c0a000000fc0044454c4c205532333132484d0a000000fd00384c1e5311000a2020202020200096"; + mode = "1920x1080"; + }; in { odin-nvidia = { @@ -21,6 +26,7 @@ }; }; }; + odin-intel = { fingerprint = { "eDP1" = dell-laptop.fingerprint; }; config = { @@ -31,48 +37,26 @@ }; }; }; - odin-intel-laboratorio-dock-dell = { + + odin-intel-laboratorio-dock-dell_dp = { fingerprint = { - "DP1-3" = - "00ffffffffffff0010ac10d04c36453221110103682b1b78ee8db0a2544a9c25115054a54b00714f818001010101010101010101010121399030621a274068b03600ae0e1100001c000000ff00434b3632373738413245364c0a000000fd00384b1e530f000a202020202020000000fc0044454c4c20453230375746500a0088"; + "DP1-2" = schermo_lab_dp.fingerprint; "eDP1" = dell-laptop.fingerprint; }; config = { - "DP1-3" = { - crtc = 1; - mode = "1680x1050"; - position = "120x0"; + "DP1-2" = { + inherit (schermo_lab_dp) mode dpi; + crtc = 0; primary = true; - dpi = 96; }; "eDP1" = { inherit (dell-laptop) mode dpi; - crtc = 0; - position = "0x1080"; - }; - }; - }; - odin-intel-laboratorio = { - fingerprint = { - "DP1-3" = - "00ffffffffffff0010ac71404c473344281601030e331d78eadd45a3554fa027125054a54b00714f8180d1c001010101010101010101023a801871382d40582c4500fe1f1100001e000000ff004b463837593241364433474c0a000000fc0044454c4c205532333132484d0a000000fd00384c1e5311000a2020202020200081"; - "eDP1" = dell-laptop.fingerprint; - }; - config = { - "DP1-3" = { - crtc = 1; - mode = "1920x1080"; - position = "0x0"; - primary = true; - dpi = 96; - }; - "eDP1" = { - inherit (dell-laptop) mode dpi; - crtc = 0; + crtc = 1; position = "0x1080"; }; }; }; + thor-default = { fingerprint = { "DP-2" = diff --git a/hm_modules/ncspot.nix b/hm_modules/ncspot.nix index adb24c5..b9327b6 100644 --- a/hm_modules/ncspot.nix +++ b/hm_modules/ncspot.nix @@ -1,6 +1,9 @@ -{ +{ pkgs, ... }: { programs.ncspot = { enable = true; + package = pkgs.ncspot.overrideAttrs (o: { + buildFeatures = o.buildFeatures ++ [ "cover" "mpris" "notify" "share_clipboard" ]; + }); settings = { use_nerdfont = true; notify = true;