Skip to content

Commit a54683a

Browse files
authored
Merge pull request #223 from pogobanane/master
improve nixosGenerate documentation
2 parents 9fcfbef + b09c3e5 commit a54683a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,13 @@ multiple custom formats. `nixosGenerate` will then match against these custom f
183183
];
184184
format = "vmware";
185185
186+
# optional arguments:
187+
# explicit nixpkgs and lib:
188+
# pkgs = nixpkgs.legacyPackages.x86_64-linux;
189+
# lib = nixpkgs.legacyPackages.x86_64-linux.lib;
190+
# additional arguements to pass to modules:
191+
# specialArgs = { myExtraArg = "foobar"; };
192+
186193
# you can also define your own custom formats
187194
# customFormats = { "myFormat" = <myFormatModule>; ... };
188195
# format = "myFormat";

0 commit comments

Comments
 (0)