Unverified Commit 0f7f3caa authored by daimond113's avatar daimond113 Committed by Sandro Jäckel
Browse files

nixos/oauth2-proxy: remove *secretFile requirement

parent d4d72cce
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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 = {