1
1
Fork 0

mangohud: enable session-wide

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-03-15 17:31:05 -05:00
parent 0b8dc8b94c
commit beb65e47ae
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -7,16 +7,17 @@
with lib; let
cfg = config.custom.programs.mangohud;
in {
options.custom.programs.mangohud.enable = mkOption {default = false;};
options.custom.programs.mangohud = {
enable = mkOption {default = false;};
};
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
config = mkIf cfg.enable {
home-manager.sharedModules = [
{
# https://github.com/flightlessmango/MangoHud
programs.mangohud = {
enable = true;
# BUG: Some GTK apps use Vulkan, which triggers MangoHUD
# https://github.com/flightlessmango/MangoHud/issues/1305
#// enableSessionWide = true;
enableSessionWide = true;
settings = {
background_alpha = 0;