From 1c9dced21cdac007582e785de61f08ff4aa9649e Mon Sep 17 00:00:00 2001 From: Toast Date: Mon, 2 Oct 2023 11:12:31 +0200 Subject: [PATCH] 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 = {