.
This commit is contained in:
parent
781cc647ef
commit
4168001713
11 changed files with 123 additions and 195 deletions
|
|
@ -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 = {}
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue