about summary refs log tree commit diff
path: root/ops/modules/tvl-sso/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-25T23·00+0300
committerclbot <clbot@tvl.fyi>2021-12-26T00·10+0000
commit28a80e02514fe8c13e1826fda5d53f938105d600 (patch)
treeb338a8ed7650374562d3bb429f86d710a181a7b6 /ops/modules/tvl-sso/default.nix
parent738cca62c1c4b5297d636fc331cd49bd82eaa0a6 (diff)
chore: friendship ended with cas, now keycloak is our best friend r/3411
Note that the login.tvl.fyi WWW configuration is still kind of hanging
around until we've settled where Keycloak lives.

Change-Id: Iaca4e394a7371cafa3716ca66ef09c4eca5b1520
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4626
Autosubmit: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'ops/modules/tvl-sso/default.nix')
-rw-r--r--ops/modules/tvl-sso/default.nix28
1 files changed, 0 insertions, 28 deletions
diff --git a/ops/modules/tvl-sso/default.nix b/ops/modules/tvl-sso/default.nix
deleted file mode 100644
index 8b413114cc69..000000000000
--- a/ops/modules/tvl-sso/default.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-# Configures an Apereo CAS instance for TVL SSO
-{ depot, ... }:
-
-let
-  inherit (depot.third_party) apereo-cas;
-in {
-  config = {
-    environment.systemPackages = [ apereo-cas ];
-    systemd.services.apereo-cas = {
-      description = "Apereo CAS Single Sign On server";
-      wantedBy = [ "multi-user.target" ];
-      after = [ "network.target" ];
-      environment.JDK_JAVA_OPTIONS = "-Xmx512M -Xms512M";
-      serviceConfig = {
-        User = "apereo-cas";
-        Group = "apereo-cas";
-        ExecStart = "${apereo-cas}/bin/cas";
-        EnvironmentFile = "/etc/cas/secrets";
-        Restart = "always";
-      };
-    };
-    users.users.apereo-cas = {
-      isSystemUser = true;
-      group = "apereo-cas";
-    };
-    users.groups.apereo-cas = {};
-  };
-}