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