gui: Replace deprecated gtkUsePortal

This commit is contained in:
Simon Bruder 2022-12-10 15:17:12 +01:00
parent 81b3d4590a
commit 71308a9284
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -15,10 +15,12 @@ lib.mkIf config.sbruder.gui.enable {
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
gtkUsePortal = true;
};
};
# can have side effects (https://github.com/NixOS/nixpkgs/pull/179204)
environment.sessionVariables.GTK_USE_PORTAL = "1";
services.upower.enable = true;
# steam (and other high quality software) still ships 32 bit binaries