Sha256: f2e8b7a76075f53b86f87caf4faf1b5761744942d2bf62dd7a1d7d25bd025dbc

Contents?: true

Size: 701 Bytes

Versions: 2

Compression:

Stored size: 701 Bytes

Contents

{ 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 <literal>nix-build</literal>
            commands.
          '';
        };

        nixPath = mkOption {
          type = types.listOf types.str;
          default = [];
          description = ''
            List of extra paths added to environment variable
            <literal>NIX_PATH</literal> for all <literal>nix-build</literal>
            invokations
          '';
        };
      };
    };
  };
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
confctl-2.0.0 nix/modules/confctl/nix.nix
confctl-1.0.0 nix/modules/confctl/nix.nix