modules: add explizit class to clan module
This commit is contained in:
@@ -26,6 +26,7 @@ in
|
|||||||
description = "Clan module. Define your clan inside here";
|
description = "Clan module. Define your clan inside here";
|
||||||
default = { };
|
default = { };
|
||||||
type = types.submoduleWith {
|
type = types.submoduleWith {
|
||||||
|
class = "clan";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit self;
|
inherit self;
|
||||||
inherit (inputs) nixpkgs nix-darwin;
|
inherit (inputs) nixpkgs nix-darwin;
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ rec {
|
|||||||
nix-darwin = self.inputs.nix-darwin or clan-core.inputs.nix-darwin;
|
nix-darwin = self.inputs.nix-darwin or clan-core.inputs.nix-darwin;
|
||||||
in
|
in
|
||||||
lib.evalModules {
|
lib.evalModules {
|
||||||
|
class = "clan";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit
|
inherit
|
||||||
self
|
self
|
||||||
|
|||||||
Reference in New Issue
Block a user