fix xdg portal open

This commit is contained in:
iofq 2023-12-31 02:14:41 -06:00
parent 211ba8a0b0
commit b1877c567b
3 changed files with 13 additions and 21 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, nixos-hardware, host, ... }:
{ pkgs, ... }:
{
imports =
[
@ -36,19 +36,21 @@
};
services.flatpak.enable = true;
services.dbus.enable = true;
xdg = {
portal = {
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
wlr.enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-wlr
];
config = {
common = {
default = [
"wlr"
"*"
];
};
};
};
};
hardware.opengl.enable = true;
hardware.opengl.extraPackages = [