about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2021-05-14 12:15:44 +0200
committertalyz <kim.lindberger@gmail.com>2021-05-21 13:09:32 +0200
commitdbf91bc2f12e80dd1933261e049b801d1a626a4e (patch)
tree0780b055b2e50c1d7f91b1832075b0acec11996a /nixos/tests
parent83e406e97ab0feb90bfd2925fcf3ed5b01236591 (diff)
nixos/keycloak: keycloak.database* -> keycloak.database.*
Move all database options to their own group / attribute. This makes
the configuration clearer and brings it in line with most other modern
modules.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/keycloak.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/nixos/tests/keycloak.nix b/nixos/tests/keycloak.nix
index 136e83b3e021e..ae8f4c5f7e685 100644
--- a/nixos/tests/keycloak.nix
+++ b/nixos/tests/keycloak.nix
@@ -19,9 +19,12 @@ let
           virtualisation.memorySize = 1024;
           services.keycloak = {
             enable = true;
-            inherit frontendUrl databaseType initialAdminPassword;
-            databaseUsername = "bogus";
-            databasePasswordFile = pkgs.writeText "dbPassword" "wzf6vOCbPp6cqTH";
+            inherit frontendUrl initialAdminPassword;
+            database = {
+              type = databaseType;
+              username = "bogus";
+              passwordFile = pkgs.writeText "dbPassword" "wzf6vOCbPp6cqTH";
+            };
           };
           environment.systemPackages = with pkgs; [
             xmlstarlet