diff --git a/modules/sercice/zitadel/default.nix b/clanServices/zitadel/default.nix similarity index 100% rename from modules/sercice/zitadel/default.nix rename to clanServices/zitadel/default.nix diff --git a/clanServices/zitadel/flake-module.nix b/clanServices/zitadel/flake-module.nix new file mode 100644 index 0000000..06881c8 --- /dev/null +++ b/clanServices/zitadel/flake-module.nix @@ -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; + # }; + }; +} diff --git a/flake.nix b/flake.nix index 3b09ff6..d8bd7c9 100644 --- a/flake.nix +++ b/flake.nix @@ -22,7 +22,7 @@ outputs = inputs@{ flake-parts, ... }: - flake-parts.lib.mkFlake { inherit inputs; } ({ self, pkgs, ... }: { + flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: { systems = [ "x86_64-linux" ]; @@ -36,7 +36,7 @@ meta.name = "amarth-services"; 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 {}; }; };