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