mirror of
https://github.com/elwrcl/copnix.git
synced 2026-11-01 06:38:02 +03:00
refactor: update xdg.portal configuration for hyprland with structured common settings
This commit is contained in:
1 parent
34d4e3e887
commit
ea04f268b2
1 file changed
+8
-1
@@ -9,7 +9,14 @@
|
|||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-gtk ];
|
extraPortals = [ pkgs.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-gtk ];
|
||||||
config.common.default = "*";
|
config = {
|
||||||
|
common = {
|
||||||
|
default = [ "hyprland" "gtk" ];
|
||||||
|
"org.freedesktop.portal.FileChooser" = [ "gtk" ];
|
||||||
|
"org.freedesktop.portal.Screenshot" = [ "hyprland" ];
|
||||||
|
"org.freedesktop.portal.ScreenCast" = [ "hyprland" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|||||||
Reference in new issue
Block a user