From 9d916eb4c365e57a938af8b8ecbcd306f2b0ebae Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 20 Jun 2022 16:03:34 +0200 Subject: gaming: configure gamemoderun --- system/settings/gaming.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'system') diff --git a/system/settings/gaming.nix b/system/settings/gaming.nix index 94e45077..8623a555 100644 --- a/system/settings/gaming.nix +++ b/system/settings/gaming.nix @@ -4,6 +4,16 @@ programs.steam.enable = true; programs.gamemode = { enable = true; + settings = { + general = { + renice = 1; + }; + + custom = { + start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'"; + end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'"; + }; + }; }; hardware.steam-hardware.enable = true; hardware.opengl.driSupport32Bit = true; -- cgit 1.4.1