mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
minor changes
This commit is contained in:
parent
ae2279bcdb
commit
c6b031d32b
1 changed files with 4 additions and 4 deletions
|
@ -47,19 +47,19 @@ let
|
||||||
mountPoint = mkOption {
|
mountPoint = mkOption {
|
||||||
example = "/mnt/usb";
|
example = "/mnt/usb";
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = "Mount point on the container file system";
|
description = "Mount point on the container file system.";
|
||||||
};
|
};
|
||||||
hostPath = mkOption {
|
hostPath = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
example = "/home/alice";
|
example = "/home/alice";
|
||||||
type = types.uniq (types.nullOr types.string);
|
type = types.nullOr types.str;
|
||||||
description = "Location of the host path to be mounted";
|
description = "Location of the host path to be mounted.";
|
||||||
};
|
};
|
||||||
isReadOnly = mkOption {
|
isReadOnly = mkOption {
|
||||||
default = true;
|
default = true;
|
||||||
example = true;
|
example = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
description = "Determine whether the mounted path will be accessed in read-only mode";
|
description = "Determine whether the mounted path will be accessed in read-only mode.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue