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:
@@ -68,4 +68,6 @@ in {
|
||||
};
|
||||
|
||||
zoom-vm = prev.callPackage scripts/zoom-vm {};
|
||||
|
||||
razer-cli = prev.callPackage tools/hardware/razer-cli {};
|
||||
}
|
||||
|
||||
22
packages/tools/hardware/razer-cli/default.nix
Normal file
22
packages/tools/hardware/razer-cli/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3, xorg
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonPackage rec {
|
||||
pname = "razer-cli";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LoLei";
|
||||
repo = "razer-cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "0vcyssswsw7gzk2xlpvcqc9fgvwxzyivsqmw5r9b391dv3wpr1y7";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ xorg.xrdb ];
|
||||
propagatedBuildInputs = with python3.pkgs; [ setuptools openrazer ];
|
||||
}
|
||||
Reference in New Issue
Block a user