mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
fix: adjust portals for sway
This commit is contained in:
parent
ca512e9375
commit
a0401a7970
1 changed files with 4 additions and 4 deletions
|
@ -44,20 +44,20 @@ in
|
||||||
services.dbus.packages = [ pkgs.gcr ];
|
services.dbus.packages = [ pkgs.gcr ];
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
|
wlr.enable = true;
|
||||||
enable = true;
|
enable = true;
|
||||||
xdgOpenUsePortal = true;
|
xdgOpenUsePortal = true;
|
||||||
config.common = {
|
config.common = {
|
||||||
default = [
|
default = [
|
||||||
|
"wlr"
|
||||||
"gtk"
|
"gtk"
|
||||||
"hyprland"
|
|
||||||
];
|
];
|
||||||
"org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
"org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
||||||
"org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ];
|
"org.freedesktop.impl.portal.ScreenCast" = [ "xdg-desktop-portal-wlr" ];
|
||||||
"org.freedesktop.impl.portal.Screenshot" = [ "hyprland" ];
|
"org.freedesktop.impl.portal.Screenshot" = [ "xdg-desktop-portal-wlr" ];
|
||||||
"org.freedesktop.portal.FileChooser" = [ "xdg-desktop-portal-gtk" ];
|
"org.freedesktop.portal.FileChooser" = [ "xdg-desktop-portal-gtk" ];
|
||||||
};
|
};
|
||||||
extraPortals = [
|
extraPortals = [
|
||||||
pkgs.xdg-desktop-portal-hyprland
|
|
||||||
pkgs.xdg-desktop-portal-gtk
|
pkgs.xdg-desktop-portal-gtk
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue