From b967aa96d042990af090ce4dd0d57d9724a04852 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 27 Mar 2019 22:41:52 +0800 Subject: [PATCH] nixbld: remove unnecessary and buggy postgresql entry --- nixbld-etc-nixos/configuration.nix | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 60aa9dd..eafac96 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -109,20 +109,6 @@ ACTION=="add", SUBSYSTEM=="tty", \ 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 = { enable = true; package = pkgs.callPackage ./hydra.nix {};