summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/settings/gaming.nix10
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;