Changes to komga and kanidm
This commit is contained in:
parent
acca790a97
commit
526e760eee
7 changed files with 40 additions and 31 deletions
11
modules/server/link/client.nix
Normal file
11
modules/server/link/client.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.kanidm = {
|
||||
enableClient = true;
|
||||
|
||||
clientSettings = {
|
||||
uri = "https://auth.lyes.eu";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -5,6 +5,10 @@ let
|
|||
port = "44300";
|
||||
in
|
||||
{
|
||||
import = [
|
||||
./client.nix
|
||||
];
|
||||
|
||||
users.users.kanidm.extraGroups = [ "nginx" ];
|
||||
services.kanidm = {
|
||||
package = pkgs.kanidmWithSecretProvisioning_1_7;
|
||||
|
|
@ -25,13 +29,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
enableClient = true;
|
||||
|
||||
clientSettings = {
|
||||
uri = "https://127.0.0.1:${port}";
|
||||
verify_ca = false;
|
||||
};
|
||||
|
||||
provision = {
|
||||
enable = true;
|
||||
adminPasswordFile = config.age.secrets.kanidm-admin-password.path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue