Merge pull request #16332 from solson/fix-fileSystems-example

Make fileSystems example literal.
This commit is contained in:
zimbatm 2016-06-19 22:27:44 +01:00 committed by GitHub
commit 7795f11335

View File

@ -111,7 +111,8 @@ in
fileSystems = mkOption { fileSystems = mkOption {
default = {}; default = {};
example = { example = literalExample ''
{
"/".device = "/dev/hda1"; "/".device = "/dev/hda1";
"/data" = { "/data" = {
device = "/dev/hda2"; device = "/dev/hda2";
@ -119,7 +120,8 @@ in
options = [ "data=journal" ]; options = [ "data=journal" ];
}; };
"/bigdisk".label = "bigdisk"; "/bigdisk".label = "bigdisk";
}; }
'';
type = types.loaOf types.optionSet; type = types.loaOf types.optionSet;
options = [ fileSystemOpts ]; options = [ fileSystemOpts ];
description = '' description = ''