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 = {