VEGAS/oauth2-proxy: services.oauth2_proxy -> services.oauth2-proxy

This commit is contained in:
Max Headroom 2024-06-04 14:36:27 +02:00
parent eaa53cd05d
commit 9981581cbd

View file

@ -2,7 +2,7 @@
let
inherit (depot.lib.meta) domain;
login = x: "https://login.${domain}/auth/realms/master/protocol/openid-connect/${x}";
cfg = config.services.oauth2_proxy;
cfg = config.services.oauth2-proxy;
in
{
age.secrets.oauth2_proxy-secrets = {
@ -12,10 +12,7 @@ in
mode = "0400";
};
users.users.oauth2_proxy.group = "oauth2_proxy";
users.groups.oauth2_proxy = {};
services.oauth2_proxy = {
services.oauth2-proxy = {
enable = true;
approvalPrompt = "auto";
provider = "keycloak";