Update README.md

improve nixosGenerate documentation
This commit is contained in:
pogobanane 2023-04-04 11:21:42 +02:00 committed by GitHub
parent d5cd198c80
commit b09c3e5286
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";