diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index 0609660..c622872 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -18,11 +18,6 @@ hardware.opengl = { enable = true; -# extraPackages = with pkgs; [ -# intel-media-driver # LIBVA_DRIVER_NAME=iHD -# vaapiIntel -# libvdpau-va-gl -# ]; }; environment = { @@ -48,12 +43,18 @@ #LIBCL_ALWAYS_SOFTWARE = "1"; # For applications in VM like alacritty to work #WLR_NO_HARDWARE_CURSORS = "1"; # For cursor in VM }; + systemPackages = with pkgs; [ + xdg-desktop-portal-wlr + swaylock + ]; }; programs = { hyprland.enable = true; }; + security.pam.services.swaylock = {}; + xdg.portal = { # Required for flatpak with windowmanagers enable = true; extraPortals = [ pkgs.xdg-desktop-portal-gtk ];