mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-09-11 12:15:29 +03:00
Update README.md
improve nixosGenerate documentation
This commit is contained in:
parent
d5cd198c80
commit
b09c3e5286
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user