From b7891f47d340e387945d4c0e839cbbc6233f3127 Mon Sep 17 00:00:00 2001 From: Bad Date: Thu, 17 Feb 2022 22:18:55 +0100 Subject: [PATCH] Add xdg portals to sway --- profiles/sway/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/profiles/sway/default.nix b/profiles/sway/default.nix index d7047df..1a404b1 100644 --- a/profiles/sway/default.nix +++ b/profiles/sway/default.nix @@ -1,7 +1,14 @@ { config, lib, pkgs, ... }: { - xdg.portal.enable = true; + xdg.portal = { + enable = true; + wlr.enable = true; + extraPortals = [ + pkgs.xdg-desktop-portal-gtk + ]; + }; + services.geoclue2.enable = true; location.provider = "geoclue2"; @@ -39,6 +46,7 @@ ]; environment.systemPackages = with pkgs; [ + xdg-desktop-portal-wlr brightnessctl polkit_gnome ];