hardware.xpadneo.enable
Whether to enable the xpadneo driver for Xbox One wireless controllers.
type
boolean
example
{
hardware.xpadneo.enable = true;
}
default
{
hardware.xpadneo.enable = false;
}
programs.bash.undistractMe.enable
Whether to enable notifications when long-running terminal commands complete.
type
boolean
example
{
programs.bash.undistractMe.enable = true;
}
default
{
programs.bash.undistractMe.enable = false;
}
programs.bash.undistractMe.playSound
Whether to enable notification sounds when long-running terminal commands complete.
type
boolean
example
{
programs.bash.undistractMe.playSound = true;
}
default
{
programs.bash.undistractMe.playSound = false;
}
programs.bash.undistractMe.timeout
Number of seconds it would take for a command to be considered long-running.
type
signed integer
default
{
programs.bash.undistractMe.timeout = 10;
}
programs.gamemode.enable
Whether to enable GameMode to optimise system performance on demand.
type
boolean
example
{
programs.gamemode.enable = true;
}
default
{
programs.gamemode.enable = false;
}
programs.gamemode.enableRenice
Whether to enable CAP_SYS_NICE on gamemoded to support lowering process niceness.
type
boolean
example
{
programs.gamemode.enableRenice = true;
}
default
{
programs.gamemode.enableRenice = true;
}
programs.gamemode.settings
System-wide configuration for GameMode (/etc/gamemode.ini). See gamemoded(8) man page for available settings.
type
attribute set of attribute set of INI atom (null, bool, int, float or string)
example
{
programs.gamemode.settings = {
_type = "literalExpression";
text = ''
{
general = {
renice = 10;
};
# Warning: GPU optimisations have the potential to damage hardware
gpu = {
apply_gpu_optimisations = "accept-responsibility";
gpu_device = 0;
amd_performance_level = "high";
};
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
}
'';
};
}
default
{
programs.gamemode.settings = {};
}
services.bluetooth-autoconnect.enable
Whether to enable bluetooth autoconnect to automatically connect to all paired and trusted bluetooth devices.
type
boolean
example
{
services.bluetooth-autoconnect.enable = true;
}
default
{
services.bluetooth-autoconnect.enable = false;
}
services.replay-sorcery.enable
Whether to enable the ReplaySorcery service for instant-replays.
type
boolean
example
{
services.replay-sorcery.enable = true;
}
default
{
services.replay-sorcery.enable = false;
}
services.replay-sorcery.enableSysAdminCapability
Whether to enable the system admin capability to support hardware accelerated video capture. This is equivalent to running ReplaySorcery as root, so use with caution.
type
boolean
example
{
services.replay-sorcery.enableSysAdminCapability = true;
}
default
{
services.replay-sorcery.enableSysAdminCapability = false;
}
services.replay-sorcery.autoStart
Automatically start ReplaySorcery when graphical-session.target starts.
type
boolean
default
{
services.replay-sorcery.autoStart = false;
}
services.replay-sorcery.settings
System-wide configuration for ReplaySorcery (/etc/replay-sorcery.conf).
type
attribute set of string or signed integer
example
{
services.replay-sorcery.settings = {
_type = "literalExpression";
text = ''
{
videoInput = "hwaccel"; # requires `services.replay-sorcery.enableSysAdminCapability = true`
videoFramerate = 60;
}
'';
};
}
default
{
services.replay-sorcery.settings = {};
}