mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 17:46:14 +01:00
Fix XDG portal selection
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
2aca36c8fd
commit
ffed2f4fd0
|
@ -1,11 +1,22 @@
|
||||||
{ pkgs, lib, ... }:
|
|
||||||
let
|
|
||||||
inherit (lib)
|
|
||||||
getExe
|
|
||||||
singleton;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit
|
||||||
|
(lib)
|
||||||
|
getExe
|
||||||
|
singleton
|
||||||
|
;
|
||||||
|
in {
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
|
config = {
|
||||||
|
common = {
|
||||||
|
default = [
|
||||||
|
"gtk"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
enable = true;
|
enable = true;
|
||||||
xdgOpenUsePortal = true;
|
xdgOpenUsePortal = true;
|
||||||
extraPortals = singleton pkgs.xdg-desktop-portal-gtk;
|
extraPortals = singleton pkgs.xdg-desktop-portal-gtk;
|
||||||
|
|
Loading…
Reference in a new issue