All attrs of settings must be INI atoms
This commit is contained in:
parent
4ae833c410
commit
f97f3b62c0
|
@ -124,8 +124,9 @@ in {
|
||||||
signout_redirect_url =
|
signout_redirect_url =
|
||||||
"https://${cfg.oauth.hostname}/application/o/${cfg.oauth.slug}/end-session/";
|
"https://${cfg.oauth.hostname}/application/o/${cfg.oauth.slug}/end-session/";
|
||||||
oauth_auto_login = true;
|
oauth_auto_login = true;
|
||||||
|
};
|
||||||
|
|
||||||
generic_oauth = {
|
"auth.generic_oauth" = mkIf (!isNull cfg.oauth) {
|
||||||
name = "Authentik";
|
name = "Authentik";
|
||||||
enabled = true;
|
enabled = true;
|
||||||
client_id = "$__file{${cfg.oauth.client-id}}";
|
client_id = "$__file{${cfg.oauth.client-id}}";
|
||||||
|
@ -143,5 +144,4 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue