BuildClan
This provides an overview of the available arguments of the clan
interface.
Each attribute is documented below
-
buildClan: A function that takes an attribute set.`.
-
flake-parts: Each attribute can be defined via
clan.<attribute name>
. See our flake-parts guide.
directory
The directory containing the clan.
A typical directory structure could look like this:
Type: path
Default:
inventory
The Inventory
submodule.
For details see the Inventory documentation.
Type: submodule
machines
A mapping of machine names to their nixos configuration.
Type: attribute set of module
Default:
meta
Global information about the clan.
Type: module
Default:
meta.description
Optional freeform description
Type: null or string
Default:
meta.icon
Under construction, will be used for the UI
Type: null or string
Default:
meta.name
Name of the clan.
Needs to be (globally) unique, as this determines the folder name where the flake gets downloaded to.
Type: string
pkgsForSystem
A function that maps from architecture to pkg. ( string -> pkgs )
If specified this nixpkgs will be only imported once for each system. This improves performance, but all nipxkgs.* options will be ignored.
Type: function that evaluates to a(n) (null or (attribute set))
Default:
specialArgs
Extra arguments to pass to nixosSystem i.e. useful to make self available
Type: attribute set of raw value
Default: