flake-parts: expose inventory

This commit is contained in:
Jörg Thalheim
2024-07-15 17:13:40 +02:00
parent 36077122c0
commit 824ddfd0e1

View File

@@ -59,6 +59,14 @@ in
default = { };
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'
# Not everyone uses flake-parts
@@ -109,6 +117,7 @@ in
directory
specialArgs
machines
inventory
pkgsForSystem
meta
;