ops/nixos: remove ensurePermissions
This commit is contained in:
parent
b201fe69bb
commit
de74e5d3f4
9 changed files with 0 additions and 28 deletions
|
@ -46,9 +46,6 @@
|
|||
ensureDatabases = [ "matrix-synapse" ];
|
||||
ensureUsers = [{
|
||||
name = "matrix-synapse";
|
||||
ensurePermissions = {
|
||||
"DATABASE \"matrix-synapse\"" = "ALL PRIVILEGES";
|
||||
};
|
||||
}];
|
||||
};
|
||||
services.coturn = {
|
||||
|
|
|
@ -45,9 +45,6 @@ in {
|
|||
enable = true;
|
||||
ensureUsers = [{
|
||||
name = "paperless";
|
||||
ensurePermissions = {
|
||||
"DATABASE paperless" = "ALL PRIVILEGES";
|
||||
};
|
||||
}];
|
||||
ensureDatabases = [ "paperless" ];
|
||||
};
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
];
|
||||
ensureUsers = [{
|
||||
name = "twitterchiver";
|
||||
ensurePermissions = { "DATABASE twitterchiver" = "ALL PRIVILEGES"; };
|
||||
}];
|
||||
};
|
||||
services.postgresqlBackup.enable = true;
|
||||
|
|
|
@ -191,10 +191,6 @@ in {
|
|||
services.postgresql.ensureDatabases = [ "lukegb" ];
|
||||
services.postgresql.ensureUsers = [{
|
||||
name = "lukegb";
|
||||
ensurePermissions = {
|
||||
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
|
||||
"DATABASE lukegb" = "ALL PRIVILEGES";
|
||||
};
|
||||
}];
|
||||
services.postgresql.authentication = ''
|
||||
local all all trust
|
||||
|
|
|
@ -51,9 +51,6 @@ in
|
|||
enable = true;
|
||||
ensureUsers = [{
|
||||
name = "baserow";
|
||||
ensurePermissions = {
|
||||
"DATABASE baserow" = "ALL PRIVILEGES";
|
||||
};
|
||||
}];
|
||||
ensureDatabases = [ "baserow" ];
|
||||
};
|
||||
|
|
|
@ -60,9 +60,6 @@ in
|
|||
ensureDatabases = lib.mkAfter [ "quotesdb" ];
|
||||
ensureUsers = lib.mkAfter [{
|
||||
name = "quotesdb";
|
||||
ensurePermissions = {
|
||||
"DATABASE quotesdb" = "ALL PRIVILEGES";
|
||||
};
|
||||
}];
|
||||
};
|
||||
|
||||
|
|
|
@ -269,10 +269,6 @@ in {
|
|||
services.postgresql.ensureDatabases = [ "lukegb" ];
|
||||
services.postgresql.ensureUsers = [{
|
||||
name = "lukegb";
|
||||
ensurePermissions = {
|
||||
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
|
||||
"DATABASE lukegb" = "ALL PRIVILEGES";
|
||||
};
|
||||
}];
|
||||
services.postgresql.authentication = ''
|
||||
local all all trust
|
||||
|
|
|
@ -333,10 +333,6 @@ in {
|
|||
services.postgresql.ensureDatabases = [ "lukegb" ];
|
||||
services.postgresql.ensureUsers = [{
|
||||
name = "lukegb";
|
||||
ensurePermissions = {
|
||||
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
|
||||
"DATABASE lukegb" = "ALL PRIVILEGES";
|
||||
};
|
||||
}];
|
||||
services.postgresql.authentication = ''
|
||||
local all all trust
|
||||
|
|
|
@ -269,9 +269,6 @@ in {
|
|||
ensureDatabases = ["pancake"];
|
||||
ensureUsers = [{
|
||||
name = "pancake";
|
||||
ensurePermissions = {
|
||||
"pancake.*" = "ALL PRIVILEGES";
|
||||
};
|
||||
}];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue