From 1382468de231cb597b88e1304eb58d78e898d647 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 15 Oct 2022 12:54:21 +0200 Subject: [PATCH] remove some comments --- modules/desktop/hyprland/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 ];