From 35d50489bb963fbaedd732c393e4d055d61cbc3d Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Fri, 27 Jun 2025 09:53:40 +0200 Subject: [PATCH] modules: add explizit class to clan module --- flakeModules/clan.nix | 1 + lib/modules/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/flakeModules/clan.nix b/flakeModules/clan.nix index 977033c73..d42d1ef1b 100644 --- a/flakeModules/clan.nix +++ b/flakeModules/clan.nix @@ -26,6 +26,7 @@ in description = "Clan module. Define your clan inside here"; default = { }; type = types.submoduleWith { + class = "clan"; specialArgs = { inherit self; inherit (inputs) nixpkgs nix-darwin; diff --git a/lib/modules/default.nix b/lib/modules/default.nix index 1ab56a159..26b067dde 100644 --- a/lib/modules/default.nix +++ b/lib/modules/default.nix @@ -20,6 +20,7 @@ rec { nix-darwin = self.inputs.nix-darwin or clan-core.inputs.nix-darwin; in lib.evalModules { + class = "clan"; specialArgs = { inherit self