fix xdg portal open
This commit is contained in:
parent
211ba8a0b0
commit
b1877c567b
3 changed files with 13 additions and 21 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue