diff options
author | sils <sils@sils.li> | 2024-02-11 19:07:49 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2024-02-11 19:07:49 +0100 |
commit | 455df50c83ded31424bdcf641656fed641e647a2 (patch) | |
tree | 8397334b4307a991f1d227c4086bff1bbc6a60b0 /system/services/keycloak/default.nix | |
parent | build(flake): update (diff) | |
download | nixos-server-455df50c83ded31424bdcf641656fed641e647a2.tar.gz nixos-server-455df50c83ded31424bdcf641656fed641e647a2.zip |
feat: remove keycloak
Diffstat (limited to '')
-rw-r--r-- | system/services/keycloak/default.nix | 45 |
1 files changed, 0 insertions, 45 deletions
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; - }; - }; -} |