[Treewide] Rename cpuXxxx references to cpu.xxxx references

This commit is contained in:
Antoine Viallon 2023-05-07 01:03:58 +02:00
parent c4a7421ec6
commit bc8978484f
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
7 changed files with 17 additions and 17 deletions

View file

@ -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 {