nixos/oauth2-proxy: remove *secretFile requirement

This commit is contained in:
daimond113 2026-01-10 22:59:29 +00:00 committed by Sandro Jäckel
commit 0f7f3caa32
No known key found for this signature in database
GPG key ID: 236B6291555E8401

View file

@ -616,14 +616,6 @@ in
assertion = cfg.clientID != null || cfg.keyFile != null;
message = "Either services.oauth2-proxy.clientID or services.oauth2-proxy.keyFile must be specified.";
}
{
assertion = cfg.clientSecretFile != null || cfg.keyFile != null;
message = "Either services.oauth2-proxy.clientSecretFile or services.oauth2-proxy.keyFile must be specified.";
}
{
assertion = cfg.cookie.secretFile != null || cfg.keyFile != null;
message = "Either services.oauth2-proxy.cookie.secretFile or services.oauth2-proxy.keyFile must be specified.";
}
];
users.users.oauth2-proxy = {