enable xdg-desktop-portals

This commit is contained in:
2026-08-14 10:58:49 -05:00
parent aa892de181
commit 3f547e95e5

View File

@@ -1,6 +1,10 @@
{ config, ... }:
{
systemd = {
flatpak = {
enable = true;
};
user = {
services = {
niri = {
@@ -28,9 +32,21 @@
};
};
xdg.portal.config.niri = {
xdg = {
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
xdg-desktop-portal-xapp
];
config = {
niri = {
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
};
};
};
};
services = {
tailscale = {