This commit is contained in:
Chris Kruining 2025-09-18 10:37:06 +02:00
parent 781cc647ef
commit 4168001713
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
11 changed files with 123 additions and 195 deletions

View file

@ -21,7 +21,6 @@ in
};
perInstance = { instanceName, settings, machine, roles, ... }: {
# nixosModule = lib.modules.importApply ./roles/controller.nix (instanceArgs // { inherit pkgs; });
nixosModule = { config, ... }: {
clan.core.vars.generators.zitadel = {
share = false;
@ -43,7 +42,7 @@ in
services.zitadel = {
enable = true;
masterKeyFile = config.clan.core.vars.generators.zitadel.masterKey.path;
masterKeyFile = config.clan.core.vars.generators.zitadel.files.masterKey.path;
settings = {
Port = 9092;
@ -92,8 +91,8 @@ in
options = {};
};
perInstance = instanceArgs: {
nixosModule = lib.modules.importApply ./roles/peer.nix (instanceArgs // { inherit pkgs; });
perInstance = { instanceName, settings, machine, roles, ... }: {
nixosModule = {}
};
};
}