diff --git a/modules/window_managers/hyprland/default.nix b/modules/window_managers/hyprland/default.nix index 10c60cb..a0d75f0 100644 --- a/modules/window_managers/hyprland/default.nix +++ b/modules/window_managers/hyprland/default.nix @@ -19,11 +19,6 @@ "dunst" ]; - env = [ - "XCURSOR_SIZE,24" - "HYPRCURSOR_SIZE,24" - ]; - xwayland = { force_zero_scaling = true; }; diff --git a/modules/window_managers/hyprland/z790prors.nix b/modules/window_managers/hyprland/z790prors.nix index 4d18724..26e8adb 100644 --- a/modules/window_managers/hyprland/z790prors.nix +++ b/modules/window_managers/hyprland/z790prors.nix @@ -1,5 +1,16 @@ { config, lib, pkgs, ... }: { - wayland.windowManager.hyprland.settings.monitor = "DP-1,3440x1440@164.90,0x0,1.33333,vrr,1,bitdepth,10"; + wayland.windowManager.hyprland.settings.monitor = "DP-1,3440x1440@164.90,0x0,1.33333,vrr,1"; + wayland.windowManager.hyprland.settings.env = [ + "LIBVA_DRIVER_NAME,nvidia" + "XDG_SESSION_TYPE,wayland" + "GBM_BACKEND,nvidia-drm" + "__GLX_VENDOR_LIBRARY_NAME,nvidia" + "NVD_BACKEND,direct" + "ELECTRON_OZONE_PLATFORM_HINT,auto" + "NIXOS_OZONE_WL,1" + ]; + + wayland.windowManager.hyprland.settings.cursor.no_hardware_cursors = true; }