From dca35cc9f01b47974783a2ad2f40382ceb364a09 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Fri, 2 Jan 2026 19:19:51 +0100 Subject: Fix XDG-Desktop-Portals for real this time! Includes fixing of some warnings and the addition of rtkit. --- modules/desktop/wayland.nix | 8 +------- modules/desktop/wms/hyprland.nix | 2 -- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'modules/desktop') diff --git a/modules/desktop/wayland.nix b/modules/desktop/wayland.nix index 9197a4e..457a7f0 100644 --- a/modules/desktop/wayland.nix +++ b/modules/desktop/wayland.nix @@ -8,12 +8,6 @@ options.addons.desktop.wayland.enable = lib.mkEnableOption "Enable wayland"; config = lib.mkIf config.addons.desktop.wayland.enable { services.displayManager.sddm.wayland.enable = true; - - xdg.portal = { - enable = true; - extraPortals = [ - pkgs.xdg-desktop-portal-gtk - ]; - }; + security.rtkit.enable = true; }; } diff --git a/modules/desktop/wms/hyprland.nix b/modules/desktop/wms/hyprland.nix index b35881c..d339f98 100644 --- a/modules/desktop/wms/hyprland.nix +++ b/modules/desktop/wms/hyprland.nix @@ -42,8 +42,6 @@ in waybar waybar-mpris mako - xdg-desktop-portal-gnome - xdg-desktop-portal-hyprland wl-clipboard hyprland-qt-support ]; -- cgit v1.3.1