about summary refs log tree commit diff
path: root/nixos/modules/virtualisation
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r--nixos/modules/virtualisation/containers.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/virtualisation/containers.nix b/nixos/modules/virtualisation/containers.nix
index 217ef62a1f62..6012499b0683 100644
--- a/nixos/modules/virtualisation/containers.nix
+++ b/nixos/modules/virtualisation/containers.nix
@@ -47,19 +47,19 @@ let
       mountPoint = mkOption {
         example = "/mnt/usb";
         type = types.str;
-        description = "Mount point on the container file system";
+        description = "Mount point on the container file system.";
       };
       hostPath = mkOption {
         default = null;
         example = "/home/alice";
-        type = types.uniq (types.nullOr types.string);
-        description = "Location of the host path to be mounted";
+        type = types.nullOr types.str;
+        description = "Location of the host path to be mounted.";
       };
       isReadOnly = mkOption {
         default = true;
         example = true;
         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.";
       };
     };