VEGAS/oauth2-proxy: services.oauth2_proxy -> services.oauth2-proxy
This commit is contained in:
parent
eaa53cd05d
commit
9981581cbd
1 changed files with 2 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
let
|
let
|
||||||
inherit (depot.lib.meta) domain;
|
inherit (depot.lib.meta) domain;
|
||||||
login = x: "https://login.${domain}/auth/realms/master/protocol/openid-connect/${x}";
|
login = x: "https://login.${domain}/auth/realms/master/protocol/openid-connect/${x}";
|
||||||
cfg = config.services.oauth2_proxy;
|
cfg = config.services.oauth2-proxy;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
age.secrets.oauth2_proxy-secrets = {
|
age.secrets.oauth2_proxy-secrets = {
|
||||||
|
@ -12,10 +12,7 @@ in
|
||||||
mode = "0400";
|
mode = "0400";
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.oauth2_proxy.group = "oauth2_proxy";
|
services.oauth2-proxy = {
|
||||||
users.groups.oauth2_proxy = {};
|
|
||||||
|
|
||||||
services.oauth2_proxy = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
approvalPrompt = "auto";
|
approvalPrompt = "auto";
|
||||||
provider = "keycloak";
|
provider = "keycloak";
|
||||||
|
|
Loading…
Reference in a new issue