diff --git a/modules/graphical/hyprland.nix b/modules/graphical/hyprland.nix index 389e98a..103c57c 100644 --- a/modules/graphical/hyprland.nix +++ b/modules/graphical/hyprland.nix @@ -19,42 +19,6 @@ in { gdm.enable = true; }; }; - - environment.sessionVariables = { - WLR_NO_HARDWARE_CURSORS = "1"; - #WLR_DRM_NO_ATOMIC="1"; - #WLR_DRM_DEVICES = "/dev/dri/card0"; - LIBVA_DRIVER_NAME = "nvidia"; - # black screen :( - #XDG_SESSION_TYPE = "wayland"; - GBM_BACKEND = "nvidia-drm"; - __GLX_VENDOR_LIBRARY_NAME = "nvidia"; - WLR_RENDERER_ALLOW_SOFTWARE = "1"; - }; - - hardware = { - # Opengl - opengl.enable = true; - - # Most wayland compositors need this - nvidia.modesetting.enable = true; - }; - - xdg.portal.enable = true; - xdg.portal.extraPortals = lib.mkDefault [ pkgs.xdg-desktop-portal-gtk ]; - - programs.hyprland = { - enable = true; - package = pkgs.unstable.hyprland; - }; - - security.pam.services = { - swaylock = { - fprintAuth = false; - text = '' - auth include login - ''; - }; environment.sessionVariables = { WLR_NO_HARDWARE_CURSORS="1";