dotfiles/modules/home/graphical/mangohud.nix
eriedaberrie bf6495ad71 Initial commit
Note: not the actual initial commit.

I swear I will stop repeatedly force pushing to this single commit eventually
ok.
2024-09-24 01:27:06 -07:00

24 lines
473 B
Nix

{ config, lib, ... }:
let
cfg = config.my.graphical.mangohud;
in {
options.my.graphical.mangohud = {
enable = lib.mkEnableOption null;
};
config = lib.mkIf cfg.enable {
programs.mangohud = {
enable = true;
enableSessionWide = true;
settings = {
no_display = true;
vsync = 0;
full = true;
output_folder = "${config.xdg.cacheHome}/mangohud";
toggle_hud = "Shift_R+BackSpace";
};
};
};
}