Move xdg portals into home-manager

This commit is contained in:
Bun 2025-05-16 11:29:37 -04:00
parent f30a5824a5
commit 099bcb150b
4 changed files with 13 additions and 8 deletions

View file

@ -4,6 +4,7 @@
./clipman
./kanshi
./mako
./portals
./rofi
./swayidle
./swaylock

View file

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
xdg.portal = {
enable = config.home.desktop.enable;
configPackages = config.xdg.portal.extraPortals;
xdgOpenUsePortal = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr
];
};
}