Flakes: Difference between revisions
imported>Jonringer Mention nixConfig as a top-level attribute in a flake |
imported>Jonringer m Link to nix manual for nix.conf values |
||
Line 72: | Line 72: | ||
* <code>inputs</code> is an attribute set of all the dependencies of the flake. The schema is described below. | * <code>inputs</code> is an attribute set of all the dependencies of the flake. The schema is described below. | ||
* <code>outputs</code> is a function of one argument that takes an attribute set of all the realized inputs, and outputs another attribute set which schema is described below. | * <code>outputs</code> is a function of one argument that takes an attribute set of all the realized inputs, and outputs another attribute set which schema is described below. | ||
* <code>nixConfig</code> is an attribute set of values which reflect the values given to nix.conf. This can extend the normal behavior of a user's nix experience by adding flake-specific configuration, such as a binary cache. | * <code>nixConfig</code> is an attribute set of values which reflect the [https://nixos.org/manual/nix/stable/command-ref/conf-file.html values given to nix.conf]. This can extend the normal behavior of a user's nix experience by adding flake-specific configuration, such as a binary cache. | ||
=== Input schema === | === Input schema === |