mangohud: enable session-wide
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
0b8dc8b94c
commit
beb65e47ae
1 changed files with 52 additions and 51 deletions
|
@ -7,16 +7,17 @@
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.custom.programs.mangohud;
|
cfg = config.custom.programs.mangohud;
|
||||||
in {
|
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
|
# https://github.com/flightlessmango/MangoHud
|
||||||
programs.mangohud = {
|
programs.mangohud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableSessionWide = true;
|
||||||
# BUG: Some GTK apps use Vulkan, which triggers MangoHUD
|
|
||||||
# https://github.com/flightlessmango/MangoHud/issues/1305
|
|
||||||
#// enableSessionWide = true;
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
background_alpha = 0;
|
background_alpha = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue