mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
1 parent
461f5707a4
commit
098d64f168
1 file changed
+11
-5
@@ -9,11 +9,18 @@
|
|||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xdgOpenUsePortal = true;
|
xdgOpenUsePortal = true;
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-hyprland
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
config.hyprland = lib.mkForce {
|
config.hyprland = lib.mkForce {
|
||||||
default = "gtk";
|
default = [
|
||||||
"org.freedesktop.impl.portal.Screenshot" = "hyprland";
|
"hyprland"
|
||||||
"org.freedesktop.impl.portal.ScreenCast" = "hyprland";
|
"gtk"
|
||||||
|
];
|
||||||
|
"org.freedesktop.impl.portal.Screenshot" = [ "hyprland" ];
|
||||||
|
"org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ];
|
||||||
|
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -31,7 +38,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
glib
|
glib
|
||||||
dconf
|
dconf
|
||||||
|
|||||||
Reference in new issue
Block a user