[Desktop] Add xdg gtk portal

Signed-off-by: Antoine Viallon <antoine@lesviallon.fr>
This commit is contained in:
Antoine Viallon 2022-03-25 02:45:51 +01:00
parent bcc4a47832
commit 67a7159f86
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -179,6 +179,16 @@ in {
# For 32 bit applications # For 32 bit applications
hardware.opengl.driSupport32Bit = true; hardware.opengl.driSupport32Bit = true;
xdg = {
portal = {
enable = true;
gtkUsePortal = mkDefault true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
};
};
# programs.gnupg.agent.pinentryFlavor = "qt"; # programs.gnupg.agent.pinentryFlavor = "qt";
environment.systemPackages = with pkgs; with libsForQt5; [ environment.systemPackages = with pkgs; with libsForQt5; [