modules.clan.default: move specialArgs into common place
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user