A small daemon that automatically enables GameMode when a game is running. Currently supports games launched through Steam.
Add this flake to your system's flake.nix inputs:
{
inputs = {
# Other inputs...
gamemode-auto-enable.url = "github:ekisu/gamemode-auto-enable";
};
}Then, in your nixosConfiguration, add the module to your modules list and enable the service:
{
# ...
modules = [
# Other modules...
gamemode-auto-enable.nixosModules.default,
{
services.gamemode-auto-enable.enable = true;
}
];
# ...
}First, clone the repository and build the binary:
git clone https://github.com/ekisu/gamemode-auto-enable.git
cd gamemode-auto-enable
makeThen, install the binary and the SystemD service:
sudo make installFinally, enable the user service:
systemctl --user enable --now gamemode-auto-enable.service