Flakes: Difference between revisions
imported>Alyaeanyx Add information about specialArgs |
imported>Asymmetric m →Output schema: simplify wording in comment |
||
Line 153: | Line 153: | ||
# Used for nixpkgs packages, also accessible via `nix build .#<name>` | # Used for nixpkgs packages, also accessible via `nix build .#<name>` | ||
legacyPackages."<system>"."<name>" = derivation; | legacyPackages."<system>"."<name>" = derivation; | ||
# Default overlay, | # Default overlay, consumed by other flakes | ||
overlay = final: prev: { }; | overlay = final: prev: { }; | ||
# Same idea as overlay but a list or attrset of them. | # Same idea as overlay but a list or attrset of them. | ||
overlays = {}; | overlays = {}; | ||
# Default module, | # Default module, consumed by other flakes | ||
nixosModule = { config }: { options = {}; config = {}; }; | nixosModule = { config }: { options = {}; config = {}; }; | ||
# Same idea as nixosModule but a list or attrset of them. | # Same idea as nixosModule but a list or attrset of them. |