enable xdg-desktop-portals
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
systemd = {
|
||||
flatpak = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
user = {
|
||||
services = {
|
||||
niri = {
|
||||
@@ -28,8 +32,20 @@
|
||||
};
|
||||
};
|
||||
|
||||
xdg.portal.config.niri = {
|
||||
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
|
||||
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 = {
|
||||
|
||||
Reference in New Issue
Block a user