mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-09-11 12:15:29 +03:00
Merge pull request #223 from pogobanane/master
improve nixosGenerate documentation
This commit is contained in:
commit
a54683aa7e
@ -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