Add xdg portals to sway
This commit is contained in:
parent
80f805dd0d
commit
b7891f47d3
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue