File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 4545 type = lib . types . bool ;
4646 description = "Whether to use gamemode" ;
4747 } ;
48+ pinCores = lib . mkOption {
49+ default = "false" ;
50+ example = "true" ;
51+ type = lib . types . str ;
52+ description = "Pin Cores gamemode config" ;
53+ } ;
54+ parkCores = lib . mkOption {
55+ default = "false" ;
56+ example = "true" ;
57+ type = lib . types . str ;
58+ description = "Park Cores gamemode config" ;
59+ } ;
4860 gpuOptimization = lib . mkOption {
4961 default = true ;
5062 example = false ;
7284 general = {
7385 desiredgov = "performance" ;
7486 } ;
87+ cpu = {
88+ pin_cores = config . mods . gaming . pinCores ;
89+ park_cores = config . mods . gaming . parkCores ;
90+ } ;
7591 gpu = lib . mkIf config . mods . gaming . gpuOptimization {
7692 apply_gpu_optimisations = "accept-responsibility" ;
7793 gpu_device = config . mods . gaming . gpuDevice ;
You can’t perform that action at this time.
0 commit comments