nixos/tests: clean up pgjwt test

- removed unneeded initscript
- use default postgres version for the test
release-18.03-flake
WilliButz 2017-10-04 13:01:01 +02:00
parent 2b70f5e251
commit 3539e16cfa
No known key found for this signature in database
GPG Key ID: 92582A10F1179CB2
1 changed files with 2 additions and 7 deletions

View File

@ -17,13 +17,8 @@ with pkgs; {
master = { pkgs, config, ... }:
{
services.postgresql = {
enable = true;
package = postgresql96;
extraPlugins = [ pgjwt pgtap ];
initialScript = writeText "postgresql-init.sql"
''
CREATE ROLE postgres WITH superuser login createdb;
'';
enable = true;
extraPlugins = [ pgjwt pgtap ];
};
};
};