mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/doc: clean up defaults and examples
This commit is contained in:
parent
330b1e08b8
commit
2ddc335e6f
584 changed files with 1612 additions and 1554 deletions
|
|
@ -38,27 +38,27 @@ in
|
|||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = "Override the default pause image for pod sandboxes";
|
||||
example = [ "k8s.gcr.io/pause:3.2" ];
|
||||
example = "k8s.gcr.io/pause:3.2";
|
||||
};
|
||||
|
||||
pauseCommand = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = "Override the default pause command";
|
||||
example = [ "/pause" ];
|
||||
example = "/pause";
|
||||
};
|
||||
|
||||
runtime = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = "Override the default runtime";
|
||||
example = [ "crun" ];
|
||||
example = "crun";
|
||||
};
|
||||
|
||||
extraPackages = mkOption {
|
||||
type = with types; listOf package;
|
||||
default = [ ];
|
||||
example = literalExample ''
|
||||
example = literalExpression ''
|
||||
[
|
||||
pkgs.gvisor
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue