summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--host/Rory-postgres/configuration.nix1
1 files changed, 1 insertions, 0 deletions
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;