mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 01:38:28 +02:00
docs: gamemode
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
# Network discovery, mDNS
|
# Network discovery, mDNS
|
||||||
# With this enabled, you can access your machine at <hostname>.local
|
# With this enabled, you can access your machine at <hostname>.local
|
||||||
# it's more convenient than using the IP address.
|
# it's more convenient than using the IP address.
|
||||||
|
# https://avahi.org/
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns4 = true;
|
nssmdns4 = true;
|
||||||
|
|||||||
@@ -26,6 +26,16 @@
|
|||||||
powerprofilesctl set power-saver
|
powerprofilesctl set power-saver
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
|
# Optimise Linux system performance on demand
|
||||||
|
# https://github.com/FeralInteractive/GameMode
|
||||||
|
# https://wiki.archlinux.org/title/Gamemode
|
||||||
|
#
|
||||||
|
# Usage:
|
||||||
|
# 1. For games/launchers which integrate GameMode support:
|
||||||
|
# https://github.com/FeralInteractive/GameMode#apps-with-gamemode-integration
|
||||||
|
# simply running the game will automatically activate GameMode.
|
||||||
|
# 2. For others, launching the game through gamemoderun: `gamemoderun ./game`
|
||||||
|
# 3. For steam: `gamemoderun steam-runtime`
|
||||||
programs.gamemode = {
|
programs.gamemode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
Reference in New Issue
Block a user