about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2017-10-12 02:02:19 +0200
committeraszlig <aszlig@redmoonstudios.org>2017-10-12 02:07:47 +0200
commit829566a23dfbe8ef7fe1b3d2949f0f984c71fc98 (patch)
tree3b46f37eca2bd136b8fcb6ec4caf1947e28eda5e /nixos
parentd9aa5393402f2bc6b0c65a8e3d9d66567d09d3f2 (diff)
downloadnixlib-829566a23dfbe8ef7fe1b3d2949f0f984c71fc98.tar
nixlib-829566a23dfbe8ef7fe1b3d2949f0f984c71fc98.tar.gz
nixlib-829566a23dfbe8ef7fe1b3d2949f0f984c71fc98.tar.bz2
nixlib-829566a23dfbe8ef7fe1b3d2949f0f984c71fc98.tar.lz
nixlib-829566a23dfbe8ef7fe1b3d2949f0f984c71fc98.tar.xz
nixlib-829566a23dfbe8ef7fe1b3d2949f0f984c71fc98.tar.zst
nixlib-829566a23dfbe8ef7fe1b3d2949f0f984c71fc98.zip
nixos/docker-containers: Fix submodule usage
The submodule of the "docker-containers" option isn't recognized as a
proper submodule and thus neither properly type-checks nor are its
options included in the manual.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/service-managers/docker.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/service-managers/docker.nix b/nixos/modules/service-managers/docker.nix
index 8e9c763b18af..7effe0e85d46 100644
--- a/nixos/modules/service-managers/docker.nix
+++ b/nixos/modules/service-managers/docker.nix
@@ -6,7 +6,7 @@ let
   cfg = config.docker-containers;
 
   containerModule = {
-    script = mkOption {
+    options.script = mkOption {
       type = types.lines;
       description = "Shell commands executed as the service's main process.";
     };