services: move into clan submodule

This commit is contained in:
Johannes Kirschbauer
2025-10-30 11:48:13 +01:00
parent affb926450
commit 2e55028a1b
6 changed files with 168 additions and 22 deletions

View File

@@ -28,16 +28,15 @@ in
elemType = submoduleWith {
class = "clan.service";
specialArgs = {
exports = config.exports;
directory = directory;
clanLib = specialArgs.clanLib;
exports = config.exports;
};
modules = [
(
{ name, ... }:
{
_module.args._ctx = [ name ];
}
)
./service-module.nix