mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 22:28:03 +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
+9
-2
@@ -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;
|
||||||
@@ -21,5 +28,5 @@
|
|||||||
"/home/elars/.nix-profile/share"
|
"/home/elars/.nix-profile/share"
|
||||||
];
|
];
|
||||||
GTK_USE_PORTAL = "1";
|
GTK_USE_PORTAL = "1";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user