summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-12-26 19:45:40 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-12-26 19:45:40 +0100
commit76b6cd507cf9e50c45c15556ca4aef6d6668bbbe (patch)
tree71828be0d80681e8b9aaca69f957291c39dbbcc4
parentPostgres data dir as subdir (diff)
downloadRory-Open-Architecture-76b6cd507cf9e50c45c15556ca4aef6d6668bbbe.tar.xz
Add postgres data dir
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
-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;