gui: Replace deprecated gtkUsePortal

nazuna
Simon Bruder 2022-12-10 15:17:12 +01:00
parent 81b3d4590a
commit 71308a9284
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 3 additions and 1 deletions

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