modules: fix consistent nixpkgs and nix-darwin injection

This commit is contained in:
Johannes Kirschbauer
2025-06-27 09:21:19 +02:00
parent 5dc8865da1
commit 04a31bea67
4 changed files with 19 additions and 13 deletions

View File

@@ -4,8 +4,6 @@
_module.args = {
inherit clan-core;
inherit (clan-core) clanLib;
# TODO: This should be set via an option otherwise it is not possible to override
inherit (clan-core.inputs) nixpkgs nix-darwin;
};
imports = [
./module.nix

View File

@@ -165,7 +165,6 @@ in
config = {
inventory.modules = clan-core.clanModules;
inventory._legacyModules = clan-core.clanModules;
# Merge the meta attributes from the buildClan function
inventory.meta = config.meta;
outputs.moduleForMachine = lib.mkMerge [