{ config, lib, ... }:
with lib;
{
options = {
confctl = {
nix = {
maxJobs = mkOption {
type = types.nullOr (types.either types.int (types.enum [ "auto" ]));
default = null;
description = ''
Maximum number of build jobs, passed to nix-build
commands.
'';
};
nixPath = mkOption {
type = types.listOf types.str;
default = [];
description = ''
List of extra paths added to environment variable
NIX_PATH for all nix-build
invokations
'';
};
};
};
};
}