mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Treewide] Rename cpuXxxx references to cpu.xxxx references
This commit is contained in:
parent
c4a7421ec6
commit
bc8978484f
7 changed files with 17 additions and 17 deletions
|
|
@ -27,12 +27,12 @@ in {
|
|||
};
|
||||
cpuThreads = mkOption {
|
||||
type = with types; ints.positive;
|
||||
default = generalCfg.cores or 4;
|
||||
default = generalCfg.cpu.threads or 4;
|
||||
description = "How many threads to use for hashing.";
|
||||
};
|
||||
ioThreads = mkOption {
|
||||
type = with types; ints.positive;
|
||||
default = myLib.math.log2 generalCfg.cores or 4;
|
||||
default = myLib.math.log2 generalCfg.cpu.threads or 4;
|
||||
description = "How many threads to use for IO operations";
|
||||
};
|
||||
interval = mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue