mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 17:08:25 +02:00
fix: warning for i3wm - xdg-portal
This commit is contained in:
@@ -142,6 +142,20 @@
|
|||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
config = {
|
||||||
|
common = {
|
||||||
|
# Use xdg-desktop-portal-gtk for every portal interface...
|
||||||
|
default = [
|
||||||
|
"gtk"
|
||||||
|
];
|
||||||
|
# except for the secret portal, which is handled by gnome-keyring
|
||||||
|
"org.freedesktop.impl.portal.Secret" = [
|
||||||
|
"gnome-keyring"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Sets environment variable NIXOS_XDG_OPEN_USE_PORTAL to 1
|
# Sets environment variable NIXOS_XDG_OPEN_USE_PORTAL to 1
|
||||||
# This will make xdg-open use the portal to open programs,
|
# This will make xdg-open use the portal to open programs,
|
||||||
# which resolves bugs involving programs opening inside FHS envs or with unexpected env vars set from wrappers.
|
# which resolves bugs involving programs opening inside FHS envs or with unexpected env vars set from wrappers.
|
||||||
|
|||||||
Reference in New Issue
Block a user