about summary refs log tree commit diff
path: root/nixos/modules/virtualisation
diff options
context:
space:
mode:
authorIan-Woo Kim <ianwookim@gmail.com>2015-09-28 05:48:16 +0000
committerIan-Woo Kim <ianwookim@gmail.com>2015-09-28 05:48:16 +0000
commitc6b031d32bae47f497050f5586ecd3f5ed3740b6 (patch)
treef109833575a2ff3834b51484459c1be162271dc5 /nixos/modules/virtualisation
parentae2279bcdb93cbe382832c1e0319be8b614ae63f (diff)
downloadnixlib-c6b031d32bae47f497050f5586ecd3f5ed3740b6.tar
nixlib-c6b031d32bae47f497050f5586ecd3f5ed3740b6.tar.gz
nixlib-c6b031d32bae47f497050f5586ecd3f5ed3740b6.tar.bz2
nixlib-c6b031d32bae47f497050f5586ecd3f5ed3740b6.tar.lz
nixlib-c6b031d32bae47f497050f5586ecd3f5ed3740b6.tar.xz
nixlib-c6b031d32bae47f497050f5586ecd3f5ed3740b6.tar.zst
nixlib-c6b031d32bae47f497050f5586ecd3f5ed3740b6.zip
minor changes
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.";
       };
     };