From 6f5564528e757fda4ce7236ff8b73d28922bc5b0 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Tue, 21 May 2024 08:59:48 +0200 Subject: [PATCH] fix file --- modules/graphical/hyprland.nix | 36 ---------------------------------- 1 file changed, 36 deletions(-) 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";