summaryrefslogtreecommitdiff
path: root/modules/nixos/postgresql.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-04-01 04:39:59 +0300
committerAzat Bahawi <azat@bahawi.net>2023-04-01 04:39:59 +0300
commitf4145939712b0046e5d57906d4b157b8a150614d (patch)
tree3c8d24db6410692e0fa59570ff698d446ae5a96e /modules/nixos/postgresql.nix
parentf6e36a699ae2d073e340e0a5844b8e111ed3de37 (diff)
2023-04-01
Diffstat (limited to 'modules/nixos/postgresql.nix')
-rw-r--r--modules/nixos/postgresql.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/nixos/postgresql.nix b/modules/nixos/postgresql.nix
index 79515e8..c7085ce 100644
--- a/modules/nixos/postgresql.nix
+++ b/modules/nixos/postgresql.nix
@@ -70,10 +70,7 @@ in {
};
};
- systemd.services.postgresql.postStart =
- optionalString (cfg.extraPostStart != [])
- concatStringsSep "\n"
- cfg.extraPostStart;
+ systemd.services.postgresql.postStart = optionalString (cfg.extraPostStart != []) concatLines cfg.extraPostStart;
environment.sessionVariables.PSQLRC = toString (pkgs.writeText "psqlrc" ''
\set QUIET 1