Add xdg portals to sway

This commit is contained in:
Bad 2022-02-17 22:18:55 +01:00
parent 80f805dd0d
commit b7891f47d3

View file

@ -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
];