From c6e0540c9bdbb72a6d1d463a12aea9c8e72735f0 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 30 Oct 2025 15:20:37 -0500 Subject: [PATCH] gah --- modules/gaming.nix | 21 ++++++++++++++++++++- qmk/qmk_firmware | 1 - 2 files changed, 20 insertions(+), 2 deletions(-) delete mode 160000 qmk/qmk_firmware diff --git a/modules/gaming.nix b/modules/gaming.nix index 0503faf..e865b3b 100644 --- a/modules/gaming.nix +++ b/modules/gaming.nix @@ -85,7 +85,26 @@ with lib; enable = true; gamescopeSession.enable = true; }; - programs.gamemode.enable = true; + programs.gamemode = { + enable = true; + settings = { + 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'"; + }; + }; + }; environment.systemPackages = with pkgs; [ airshipper lutris diff --git a/qmk/qmk_firmware b/qmk/qmk_firmware deleted file mode 160000 index 63ec2f6..0000000 --- a/qmk/qmk_firmware +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 63ec2f6b300977b057400584b0de8082015eaaa9