about summary refs log tree commit diff
path: root/ops/modules
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-01-17T11·43+0300
committertazjin <tazjin@tvl.su>2022-01-17T13·51+0000
commit1f3aa71cf23d84ad16193d697b21d911db313d17 (patch)
tree36cabf01ddbbb9aab158441db324d93593deed9c /ops/modules
parenta22bd77859dad16769ae350070d9d49a3c9b4d41 (diff)
fix(ops/oauth2_proxy): Fix cookie secret length r/3616
The cookie secret in the encrypted file was too long, because the
generation command in the oauth2_proxy docs is also wrong. Should
probably fix that upstream as well.

Also noticed that an extra '2' snuck into the service name and fixed
that.

Change-Id: I9a344a75993ab1f98299a8d45e7f5b2e146b7fc5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4957
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'ops/modules')
-rw-r--r--ops/modules/oauth2_proxy.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/modules/oauth2_proxy.nix b/ops/modules/oauth2_proxy.nix
index 612c8197d889..07ba8861e745 100644
--- a/ops/modules/oauth2_proxy.nix
+++ b/ops/modules/oauth2_proxy.nix
@@ -37,7 +37,7 @@ in {
   };
 
   config = lib.mkIf cfg.enable {
-    systemd.services.oauth2_proxy2 = {
+    systemd.services.oauth2_proxy = {
       inherit description;
       wantedBy = [ "multi-user.target" ];