meta: Various gaming fixes
- Fix Vortex Mod Manager by giving it access to /mnt/Storage (Bad, but well) - Add package: razer-cli - Tell gamemode to put my GPU in performance mode - Tell gamemode to enable or disable keyboard backlight - Switch the miku kernel to Zen
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.ptw.services.gamemode;
|
||||
@@ -23,6 +23,24 @@ in {
|
||||
ioprio = 0;
|
||||
inhibit_screensaver = 1;
|
||||
};
|
||||
|
||||
gpu = {
|
||||
amd_performance_level = "high";
|
||||
};
|
||||
|
||||
custom = let
|
||||
razerBrightnessStartScript = pkgs.writeShellScriptBin "razer-brightness-start.sh" ''
|
||||
${pkgs.razer-cli}/bin/razer-cli -d "Razer BlackWidow Ultimate 2013" -b 1
|
||||
${pkgs.razer-cli}/bin/razer-cli -d "Razer Tartarus V2" -b 50
|
||||
'';
|
||||
razerBrightnessStopScript = pkgs.writeShellScriptBin "razer-brightness-stop.sh" ''
|
||||
${pkgs.razer-cli}/bin/razer-cli -d "Razer BlackWidow Ultimate 2013" -b 0
|
||||
${pkgs.razer-cli}/bin/razer-cli -d "Razer Tartarus V2" -b 0
|
||||
'';
|
||||
in {
|
||||
start = ''${razerBrightnessStartScript}/bin/razer-brightness-start.sh'';
|
||||
end = ''${razerBrightnessStopScript}/bin/razer-brightness-stop.sh'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user