Files
nix-config/modules/home/games/mangohud.nix
T
phundrak 0cb44b51e7 refactor: change to litterate config
Configuration is now held by the `.org` files. All `.nix` files are
tangled from the org-mode files.
2026-10-11 16:55:06 +02:00

17 lines
367 B
Nix

{
flake.modules.homeManager.mangohud = {
lib,
config,
...
}:
with lib; let
cfg = config.home.games.mangohud;
in {
options.home.games.mangohud.enable = mkEnableOption "Enable MangoHud performance overlay";
config.programs.mangohud = mkIf cfg.enable {
enable = true;
enableSessionWide = true;
};
};
}