fix modules

This commit is contained in:
Chris Kruining 2025-09-17 20:23:19 +02:00
parent bf272f6607
commit 23e1bbe88a
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
3 changed files with 17 additions and 2 deletions

View file

@ -0,0 +1,15 @@
{ lib, ... }:
let
module = lib.modules.importApply ./default.nix {};
in
{
clan.modules.zitadel = module;
perSystem = { ... }: {
# clan.nixosTests.zitadel = {
# imports = [ ./tests/vm/default.nix ];
# clan.modules."@amarth/zitadel" = module;
# };
};
}

View file

@ -22,7 +22,7 @@
outputs = outputs =
inputs@{ flake-parts, ... }: inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } ({ self, pkgs, ... }: { flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: {
systems = [ systems = [
"x86_64-linux" "x86_64-linux"
]; ];
@ -36,7 +36,7 @@
meta.name = "amarth-services"; meta.name = "amarth-services";
modules = { modules = {
"@amarth/zitadel" = flake-parts.lib.importApply ./modules/service/zitadel/default.nix {}; "@amarth/zitadel" = flake-parts.lib.importApply ./clanServices/zitadel/default.nix {};
"@amarth/k3s" = flake-parts.lib.importApply ./clanServices/k3s/default.nix {}; "@amarth/k3s" = flake-parts.lib.importApply ./clanServices/k3s/default.nix {};
}; };
}; };