Changes to komga and kanidm
This commit is contained in:
parent
acca790a97
commit
526e760eee
7 changed files with 40 additions and 31 deletions
|
|
@ -12,8 +12,8 @@
|
|||
networking.nameservers = [
|
||||
"9.9.9.9"
|
||||
"149.112.112.112"
|
||||
"1.1.1.1#one.one.one.one"
|
||||
"1.0.0.1#one.one.one.one"
|
||||
"1.1.1.1"
|
||||
"1.0.0.1"
|
||||
"2620:fe::fe"
|
||||
"2620:fe::9"
|
||||
];
|
||||
|
|
@ -25,8 +25,8 @@
|
|||
fallbackDns = [
|
||||
"9.9.9.9"
|
||||
"149.112.112.112"
|
||||
"1.1.1.1#one.one.one.one"
|
||||
"1.0.0.1#one.one.one.one"
|
||||
"1.1.1.1"
|
||||
"1.0.0.1"
|
||||
"2620:fe::fe"
|
||||
"2620:fe::9"
|
||||
];
|
||||
|
|
|
|||
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