From 43fb0b11695a22b31a6f0bf748eecef3bbaa0a9f Mon Sep 17 00:00:00 2001 From: Toast Date: Mon, 2 Oct 2023 11:11:23 +0200 Subject: [PATCH 1/2] SteamDeck: remove obsolete option --- machines/SteamDeck/configuration.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/machines/SteamDeck/configuration.nix b/machines/SteamDeck/configuration.nix index ea49bd9..bbf55b4 100755 --- a/machines/SteamDeck/configuration.nix +++ b/machines/SteamDeck/configuration.nix @@ -44,14 +44,6 @@ autoStart = true; user = "toast"; desktopSession = "plasmawayland"; - environment = { - /* - Steam already has a mangohud overlay, so this - avoids having two overlays at once - */ - MANGOHUD = "0"; - MANHOGUD_DLSYM = "0"; - }; }; decky-loader = { enable = true; From 1c9dced21cdac007582e785de61f08ff4aa9649e Mon Sep 17 00:00:00 2001 From: Toast Date: Mon, 2 Oct 2023 11:12:31 +0200 Subject: [PATCH 2/2] Mangohud: remove session variable workaround --- roles/gaming/mangohud.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/roles/gaming/mangohud.nix b/roles/gaming/mangohud.nix index 47b37be..fe418d4 100644 --- a/roles/gaming/mangohud.nix +++ b/roles/gaming/mangohud.nix @@ -1,14 +1,10 @@ { config, ... }: { - # This does the same as enableSessionWide does on the mangohud config - environment.sessionVariables = { MANGOHUD = "1"; MANGOHUD_DLSYM = "1"; }; - home-manager.users.toast = { config, ... }: { programs.mangohud = { enable = true; - # TODO: fix envvars set by home manager not applying for some reason # This only works for Vulkan, openGL programs still need the mangohud wrapper enableSessionWide = true; settings = {