From 71308a9284aee6555b4a134c1dffbb0c1fffa7b1 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 10 Dec 2022 15:17:12 +0100 Subject: [PATCH] gui: Replace deprecated gtkUsePortal --- modules/gui.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/gui.nix b/modules/gui.nix index 5174ede..06f6728 100644 --- a/modules/gui.nix +++ b/modules/gui.nix @@ -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