Merge pull request #223 from pogobanane/master

improve nixosGenerate documentation
This commit is contained in:
Jörg Thalheim 2023-06-16 15:13:01 +01:00 committed by GitHub
commit a54683aa7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,6 +183,13 @@ multiple custom formats. `nixosGenerate` will then match against these custom f
];
format = "vmware";
# optional arguments:
# explicit nixpkgs and lib:
# pkgs = nixpkgs.legacyPackages.x86_64-linux;
# lib = nixpkgs.legacyPackages.x86_64-linux.lib;
# additional arguements to pass to modules:
# specialArgs = { myExtraArg = "foobar"; };
# you can also define your own custom formats
# customFormats = { "myFormat" = <myFormatModule>; ... };
# format = "myFormat";