gamemode: Add configuration for gpu card

This commit is contained in:
DashieTM 2024-05-08 17:19:40 +02:00
parent 45f6ade78c
commit 52d35e019d
5 changed files with 26 additions and 5 deletions

View file

@ -1,4 +1,5 @@
{ pkgs
, config
, ...
}: {
imports = [
@ -24,7 +25,7 @@
};
gpu = {
apply_gpu_optimisations = "accept-responsibility";
gpu_device = 0;
gpu_device = config.programs.gamemode.device;
amd_performance_level = "high";
};
custom = {