diff options
Diffstat (limited to 'modules/nix/linux-builder.nix')
| -rw-r--r-- | modules/nix/linux-builder.nix | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/modules/nix/linux-builder.nix b/modules/nix/linux-builder.nix index ecaf686..176d69e 100644 --- a/modules/nix/linux-builder.nix +++ b/modules/nix/linux-builder.nix @@ -33,13 +33,13 @@ in ]; options.nix.linux-builder = { - enable = mkEnableOption (lib.mdDoc "Linux builder"); + enable = mkEnableOption "Linux builder"; package = mkOption { type = types.package; default = pkgs.darwin.linux-builder; defaultText = "pkgs.darwin.linux-builder"; - description = lib.mdDoc '' + description = '' This option specifies the Linux builder to use. ''; }; @@ -54,7 +54,7 @@ in environment.systemPackages = [ pkgs.neovim ]; }) ''; - description = lib.mdDoc '' + description = '' This option specifies extra NixOS configuration for the builder. You should first use the Linux builder without changing the builder configuration otherwise you may not be able to build the Linux builder. ''; @@ -65,7 +65,7 @@ in default = []; defaultText = literalExpression ''[]''; example = literalExpression ''[ "big-parallel" ]''; - description = lib.mdDoc '' + description = '' A list of features mandatory for the Linux builder. The builder will be ignored for derivations that don't require all features in this list. All mandatory features are automatically included in @@ -79,7 +79,7 @@ in type = types.ints.positive; default = 1; example = 4; - description = lib.mdDoc '' + description = '' The number of concurrent jobs the Linux builder machine supports. The build machine will enforce its own limits, but this allows hydra to schedule better since there is no work-stealing between build @@ -94,7 +94,7 @@ in default = "ssh-ng"; defaultText = literalExpression ''"ssh-ng"''; example = literalExpression ''"ssh"''; - description = lib.mdDoc '' + description = '' The protocol used for communicating with the build machine. Use `ssh-ng` if your remote builder and your local Nix version support that improved protocol. @@ -108,7 +108,7 @@ in type = types.ints.positive; default = 1; defaultText = literalExpression ''1''; - description = lib.mdDoc '' + description = '' The relative speed of the Linux builder. This is an arbitrary integer that indicates the speed of this builder, relative to other builders. Higher is faster. @@ -122,7 +122,7 @@ in default = [ "kvm" "benchmark" "big-parallel" ]; defaultText = literalExpression ''[ "kvm" "benchmark" "big-parallel" ]''; example = literalExpression ''[ "kvm" "big-parallel" ]''; - description = lib.mdDoc '' + description = '' A list of features supported by the Linux builder. The builder will be ignored for derivations that require features not in this list. @@ -141,7 +141,7 @@ in "aarch64-linux" ] ''; - description = lib.mdDoc '' + description = '' This option specifies system types the build machine can execute derivations on. This sets the corresponding `nix.buildMachines.*.systems` option. @@ -152,18 +152,18 @@ in workingDirectory = mkOption { type = types.str; default = "/var/lib/darwin-builder"; - description = lib.mdDoc '' + description = '' The working directory of the Linux builder daemon process. ''; }; - ephemeral = mkEnableOption (lib.mdDoc '' + ephemeral = mkEnableOption '' wipe the builder's filesystem on every restart. This is disabled by default as maintaining the builder's Nix Store reduces rebuilds. You can enable this if you don't want your builder to accumulate state. - ''); + ''; }; config = mkIf cfg.enable { |
