diff options
author | Alan Pearce | 2022-06-20 16:03:34 +0200 |
---|---|---|
committer | Alan Pearce | 2022-06-23 22:38:23 +0200 |
commit | 9d916eb4c365e57a938af8b8ecbcd306f2b0ebae (patch) | |
tree | 518585aa357fcd0206334b420bb0ae1b483d690b | |
parent | 353a995f0b19fd6725e75c50911500a5cc8321d2 (diff) | |
download | nixfiles-9d916eb4c365e57a938af8b8ecbcd306f2b0ebae.tar.lz nixfiles-9d916eb4c365e57a938af8b8ecbcd306f2b0ebae.tar.zst nixfiles-9d916eb4c365e57a938af8b8ecbcd306f2b0ebae.zip |
gaming: configure gamemoderun
-rw-r--r-- | system/settings/gaming.nix | 10 |
1 files changed, 10 insertions, 0 deletions
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; |