Set up formatting
This commit is contained in:
parent
2f78eed4cc
commit
69ce8f32ef
12 changed files with 132 additions and 107 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, lib, ... } :
|
||||
{ pkgs, config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
|
@ -7,7 +7,7 @@ let
|
|||
# From a database name, create an "ensureUser"
|
||||
# entry with the same name and assign all permissions
|
||||
# to that database.
|
||||
userFromDatabase = databaseName : {
|
||||
userFromDatabase = databaseName: {
|
||||
name = databaseName;
|
||||
ensurePermissions = {
|
||||
"DATABASE ${databaseName}" = "ALL PRIVILEGES";
|
||||
|
@ -17,7 +17,7 @@ in
|
|||
{
|
||||
options.cloud.postgresql.databases = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
default = [ ];
|
||||
description = ''
|
||||
The list of databases to be created.
|
||||
An user with the same name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue