summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian McKenna <brian@brianmckenna.org>2020-12-26 16:06:30 +1100
committerGitHub <noreply@github.com>2020-12-26 16:06:30 +1100
commit1c73baa8c8a2ef029918d2e5f8b11bf7311c596e (patch)
treee5eb0e2708fcd66f7f797f944061730b9ca2f11e
parent8a801d431937891960421cfef4cf864302bbb58e (diff)
downloadnixpkgs-1c73baa8c8a2ef029918d2e5f8b11bf7311c596e.tar
nixpkgs-1c73baa8c8a2ef029918d2e5f8b11bf7311c596e.tar.gz
nixpkgs-1c73baa8c8a2ef029918d2e5f8b11bf7311c596e.tar.bz2
nixpkgs-1c73baa8c8a2ef029918d2e5f8b11bf7311c596e.tar.lz
nixpkgs-1c73baa8c8a2ef029918d2e5f8b11bf7311c596e.tar.xz
nixpkgs-1c73baa8c8a2ef029918d2e5f8b11bf7311c596e.tar.zst
nixpkgs-1c73baa8c8a2ef029918d2e5f8b11bf7311c596e.zip
oci-containers: fix containers attribute in docs
-rw-r--r--nixos/modules/virtualisation/oci-containers.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/virtualisation/oci-containers.nix b/nixos/modules/virtualisation/oci-containers.nix
index a46dd65eb49..ee9fe62187d 100644
--- a/nixos/modules/virtualisation/oci-containers.nix
+++ b/nixos/modules/virtualisation/oci-containers.nix
@@ -176,10 +176,10 @@ let
           description = ''
             Define which other containers this one depends on. They will be added to both After and Requires for the unit.
 
-            Use the same name as the attribute under <literal>virtualisation.oci-containers</literal>.
+            Use the same name as the attribute under <literal>virtualisation.oci-containers.containers</literal>.
           '';
           example = literalExample ''
-            virtualisation.oci-containers = {
+            virtualisation.oci-containers.containers = {
               node1 = {};
               node2 = {
                 dependsOn = [ "node1" ];