{ config, lib, ... }: with lib; let cfg = config.nixfiles.modules.games.gamemode; in { options.nixfiles.modules.games.gamemode.enable = mkEnableOption "Feral GameMode"; config = mkIf cfg.enable {programs.gamemode.enable = true;}; }