nixbld: remove unnecessary and buggy postgresql entry

This commit is contained in:
Sebastien Bourdeauducq 2019-03-27 22:41:52 +08:00
parent e379e3a306
commit b967aa96d0
1 changed files with 0 additions and 14 deletions

View File

@ -109,20 +109,6 @@ ACTION=="add", SUBSYSTEM=="tty", \
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
services.postgresql = {
enable = true;
enableTCPIP = true;
authentication = pkgs.lib.mkOverride 10 ''
local all all trust
host all all ::1/128 trust
'';
initialScript = pkgs.writeText "backend-initScript" ''
CREATE ROLE hydra WITH LOGIN PASSWORD 'hydra' CREATEDB;
CREATE DATABASE hydra;
GRANT ALL PRIVILEGES ON DATABASE hydra TO hydra;
'';
};
services.hydra = { services.hydra = {
enable = true; enable = true;
package = pkgs.callPackage ./hydra.nix {}; package = pkgs.callPackage ./hydra.nix {};