modules.clan.default: move specialArgs into common place

This commit is contained in:
Johannes Kirschbauer
2025-06-26 17:32:51 +02:00
parent a35e2d84d1
commit e9600a19c1
6 changed files with 5 additions and 17 deletions

View File

@@ -3,7 +3,6 @@ clan-core:
config,
lib,
self,
inputs,
...
}:
let
@@ -29,10 +28,7 @@ in
default = { };
type = types.submoduleWith {
specialArgs = {
inherit clan-core self;
inherit (inputs) nixpkgs nix-darwin;
# TODO: inject the inventory interface
# inventoryInterface = {};
inherit self;
};
modules = [
clan-core.modules.clan.default

View File

@@ -1,7 +1,7 @@
{ self, config, ... }:
{
flake.flakeModules = {
clan = import ./clan.nix self;
clan = import ./clan.nix self.module.clan.default;
default = config.flake.flakeModules.clan;
};
}