modules/oauth2-proxy: use patched package
This commit is contained in:
parent
1fb7853b52
commit
e847db9dc0
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, tools, ... }:
|
{ config, inputs, lib, pkgs, tools, ... }:
|
||||||
let
|
let
|
||||||
inherit (tools.meta) domain;
|
inherit (tools.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}";
|
||||||
|
@ -17,6 +17,7 @@ in
|
||||||
|
|
||||||
services.oauth2_proxy = {
|
services.oauth2_proxy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = inputs.self.packages.${pkgs.system}.oauth2-proxy;
|
||||||
approvalPrompt = "auto";
|
approvalPrompt = "auto";
|
||||||
provider = "keycloak";
|
provider = "keycloak";
|
||||||
scope = "openid";
|
scope = "openid";
|
||||||
|
|
Loading…
Reference in a new issue