From 455df50c83ded31424bdcf641656fed641e647a2 Mon Sep 17 00:00:00 2001 From: sils Date: Sun, 11 Feb 2024 19:07:49 +0100 Subject: feat: remove keycloak --- system/services/keycloak/default.nix | 45 ------------------------------------ 1 file changed, 45 deletions(-) delete mode 100644 system/services/keycloak/default.nix (limited to 'system/services/keycloak/default.nix') diff --git a/system/services/keycloak/default.nix b/system/services/keycloak/default.nix deleted file mode 100644 index 5f21b90..0000000 --- a/system/services/keycloak/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{config, ...}: { - services.nginx = { - enable = true; - - # enable recommended settings - recommendedGzipSettings = true; - recommendedOptimisation = true; - recommendedTlsSettings = true; - recommendedProxySettings = true; - - virtualHosts = { - "auth.vhack.eu" = { - forceSSL = true; - enableACME = true; - locations = { - "/" = { - proxyPass = "http://localhost:${toString config.services.keycloak.settings.http-port}/"; - }; - }; - }; - }; - }; - - services.postgresql.enable = true; - - services.keycloak = { - enable = true; - - database = { - type = "postgresql"; - createLocally = true; - - username = "keycloak"; - passwordFile = "${config.age.secrets.keycloak.path}"; - }; - - settings = { - hostname = "auth.vhack.eu"; - http-relative-path = "/"; - http-port = 38080; - proxy = "passthrough"; - http-enabled = true; - }; - }; -} -- cgit 1.4.1