Mangohud: remove session variable workaround

This commit is contained in:
Toast 2023-10-02 11:12:31 +02:00
parent 43fb0b1169
commit 1c9dced21c

View file

@ -1,14 +1,10 @@
{ config, ... }: { config, ... }:
{ {
# This does the same as enableSessionWide does on the mangohud config
environment.sessionVariables = { MANGOHUD = "1"; MANGOHUD_DLSYM = "1"; };
home-manager.users.toast = { config, ... }: home-manager.users.toast = { config, ... }:
{ {
programs.mangohud = { programs.mangohud = {
enable = true; 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 # This only works for Vulkan, openGL programs still need the mangohud wrapper
enableSessionWide = true; enableSessionWide = true;
settings = { settings = {