diff --git a/systems/msi/hyprland/default.nix b/systems/msi/hyprland/default.nix index 9f8ac75..a3cf2b2 100644 --- a/systems/msi/hyprland/default.nix +++ b/systems/msi/hyprland/default.nix @@ -1,6 +1,5 @@ { impurity, ... }: { hyprland-session = { - prerun = "export AQ_DRM_DEVICES=/dev/dri/card1:/dev/dri/card2"; extraConfig = "source = ${impurity.link ./hyprland.conf}"; extraConfigStatic = "source = ${./hyprland.conf}"; }; diff --git a/systems/msi/hyprland/hyprland.conf b/systems/msi/hyprland/hyprland.conf index b5f580f..1d8778c 100644 --- a/systems/msi/hyprland/hyprland.conf +++ b/systems/msi/hyprland/hyprland.conf @@ -1,3 +1,5 @@ +env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card2 + monitor = eDP-1, 1920x1080@240Hz, 0x1440, 1 monitor = DP-1, 5120x1440@120Hz, 1350x0, 1 monitor = , preferred, auto, 1