Platform Unstable #97

Merged
max merged 34 commits from platform-unstable into master 2024-06-07 00:17:36 +03:00
Showing only changes of commit 9981581cbd - Show all commits

View file

@ -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";