Compare commits

..

No commits in common. "1c9dced21cdac007582e785de61f08ff4aa9649e" and "8b6c91980fc97410a910d64e401d664e20996e08" have entirely different histories.

2 changed files with 12 additions and 0 deletions

View file

@ -44,6 +44,14 @@
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;

View file

@ -1,10 +1,14 @@
{ 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 = {