From 76b6cd507cf9e50c45c15556ca4aef6d6668bbbe Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 26 Dec 2022 19:45:40 +0100 Subject: Add postgres data dir Signed-off-by: TheArcaneBrony --- host/Rory-postgres/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/host/Rory-postgres/configuration.nix b/host/Rory-postgres/configuration.nix index 6081652..96cca4c 100644 --- a/host/Rory-postgres/configuration.nix +++ b/host/Rory-postgres/configuration.nix @@ -17,6 +17,7 @@ # environment.systemPackages = with pkgs; [ # postgresql # ]; + systemd.tmpfiles.rules = [ "d /data/pg 0755 postgres postgres" ]; services.postgresql = { enable = true; -- cgit 1.4.1