diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-12-26 19:45:40 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-12-26 19:45:40 +0100 |
commit | 76b6cd507cf9e50c45c15556ca4aef6d6668bbbe (patch) | |
tree | 71828be0d80681e8b9aaca69f957291c39dbbcc4 | |
parent | Postgres data dir as subdir (diff) | |
download | Rory-Open-Architecture-76b6cd507cf9e50c45c15556ca4aef6d6668bbbe.tar.xz |
Add postgres data dir
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
-rw-r--r-- | host/Rory-postgres/configuration.nix | 1 |
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; |