diff options
Diffstat (limited to 'modules/apps/mariadb')
-rw-r--r-- | modules/apps/mariadb/roles.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/apps/mariadb/roles.nix b/modules/apps/mariadb/roles.nix index 2971242..0e10cf9 100644 --- a/modules/apps/mariadb/roles.nix +++ b/modules/apps/mariadb/roles.nix @@ -164,7 +164,7 @@ let roleType = let objects = mkOption { - type = either str (listOf str); + type = listOf str; default = []; example = [ "%bleep.%.created\_at" @@ -177,7 +177,7 @@ let ]; }; basicRole = submodule { - options.nixsap = { + options = { "ALL" = objects; "ALTER" = objects; "CREATE" = objects; |