1
1
Fork 0
nixos/options/custom/programs/gamemode.nix

16 lines
286 B
Nix
Raw Normal View History

{
config,
lib,
...
}:
with lib; let
cfg = config.custom.programs.gamemode;
in {
options.custom.programs.gamemode.enable = mkOption {default = false;};
config = mkIf cfg.enable {
# https://github.com/FeralInteractive/gamemode
programs.gamemode.enable = true;
};
}