@@ -99,7 +99,7 @@ in
9999
100100 ##############################################
101101 # PROVIDER configuration
102− # Taken from: https://github.com/pusher/oauth2_proxy/blob/master/providers/providers.go
102+ # Taken from: https://github.com/oauth2-proxy/oauth2-proxy/blob/master/providers/providers.go
103103 provider = mkOption {
104104 type = types.enum [
105105 "google"
@@ -346,7 +346,9 @@ in
346346 type = types.nullOr types.str;
347347 default = null;
348348 description = ''
349− An optional cookie domain to force cookies to.
349+ Optional cookie domains to force cookies to (ie: `.yourcompany.com`).
350+ The longest domain matching the request's host will be used (or the shortest
351+ cookie domain if there is no match).
350352 '';
351353 example = ".yourcompany.com";
352354 };
@@ -537,7 +539,7 @@ in
537539 extraConfig = mkOption {
538540 default = {};
539541 description = ''
540− Extra config to pass to oauth2_proxy.
542+ Extra config to pass to oauth2-proxy.
541543 '';
542544 };
543545
@@ -545,7 +547,7 @@ in
545547 type = types.nullOr types.path;
546548 default = null;
547549 description = ''
548− oauth2_proxy allows passing sensitive configuration via environment variables.
550+ oauth2-proxy allows passing sensitive configuration via environment variables.
549551 Make a file that contains lines like
550552 OAUTH2_PROXY_CLIENT_SECRET=asdfasdfasdf.apps.googleuserscontent.com
551553 and specify the path here.
@@ -577,7 +579,7 @@ in
577579 serviceConfig = {
578580 User = "oauth2_proxy";
579581 Restart = "always";
580− ExecStart = "${cfg.package}/bin/oauth2_proxy ${configString}";
582+ ExecStart = "${cfg.package}/bin/oauth2-proxy ${configString}";
581583 EnvironmentFile = mkIf (cfg.keyFile != null) cfg.keyFile;
582584 };
583585 };