flake-parts: expose inventory
This commit is contained in:
@@ -59,6 +59,14 @@ in
|
|||||||
default = { };
|
default = { };
|
||||||
description = "Allows to include machine-specific modules i.e. machines.\${name} = { ... }";
|
description = "Allows to include machine-specific modules i.e. machines.\${name} = { ... }";
|
||||||
};
|
};
|
||||||
|
inventory = mkOption {
|
||||||
|
type = types.submodule { imports = [ ../lib/inventory/build-inventory/interface.nix ]; };
|
||||||
|
default = { };
|
||||||
|
description = ''
|
||||||
|
An abstract service layer for consistently configuring distributed services across machine boundaries.
|
||||||
|
See https://docs.clan.lol/concepts/inventory/ for more details.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
# Checks are performed in 'buildClan'
|
# Checks are performed in 'buildClan'
|
||||||
# Not everyone uses flake-parts
|
# Not everyone uses flake-parts
|
||||||
@@ -109,6 +117,7 @@ in
|
|||||||
directory
|
directory
|
||||||
specialArgs
|
specialArgs
|
||||||
machines
|
machines
|
||||||
|
inventory
|
||||||
pkgsForSystem
|
pkgsForSystem
|
||||||
meta
|
meta
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user