about summary refs log tree commit diff
path: root/modules/nixos/games/gamemode.nix
blob: 051d12e6dd7f92cb402fde34b1cc40856b70ae82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  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;};
}

Consider giving Nix/NixOS a try! <3