diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-12-26 19:31:04 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-12-26 19:31:04 +0100 |
commit | aa2cb08ff28e9ba17b6c632dd56b32944b6ff2a6 (patch) | |
tree | 7e58bf591cf67f3dff7534f48f2f73caefa26ac5 | |
parent | Postgres setup (diff) | |
download | Rory-Open-Architecture-aa2cb08ff28e9ba17b6c632dd56b32944b6ff2a6.tar.xz |
Postgres data dir as subdir
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
-rwxr-xr-x | build.sh | 2 | ||||
-rw-r--r-- | host/Rory-postgres/configuration.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh index 4463579..5efc800 100755 --- a/build.sh +++ b/build.sh @@ -17,6 +17,6 @@ else git add -f hardware-configuration.nix nixos-install --root "${1}" --flake ".#${2}" git rm --cached hardware-configuration.nix - cp . "${1}/Rory-Open-Architecture" -rv + cp . "${1}/Rory-Open-Architecture" -r exit fi diff --git a/host/Rory-postgres/configuration.nix b/host/Rory-postgres/configuration.nix index 7123a57..6081652 100644 --- a/host/Rory-postgres/configuration.nix +++ b/host/Rory-postgres/configuration.nix @@ -35,7 +35,7 @@ # CREATE DATABASE nixcloud; # GRANT ALL PRIVILEGES ON DATABASE nixcloud TO nixcloud; # ''; - dataDir = "/data"; + dataDir = "/data/pg"; }; system.stateVersion = "22.11"; # DO NOT EDIT! |