Refactor(build-inventory): remove build-inventory in favor of simple and expressive evalModules

This commit is contained in:
Johannes Kirschbauer
2025-06-26 09:46:26 +02:00
parent e09deaf42c
commit a01ece8742
8 changed files with 64 additions and 105 deletions

View File

@@ -5,9 +5,11 @@
}:
let
eval = lib.evalModules {
# TODO: Move this into a 'classForMachines' or something
# @enzime why do we need this here?
class = "nixos";
modules = [
(import ./clan/default.nix { inherit clanLib; })
clanLib.buildClanModule.flakePartsModule
];
};
evalDocs = pkgs.nixosOptionsDoc {