summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-12-26 19:31:04 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-12-26 19:31:04 +0100
commitaa2cb08ff28e9ba17b6c632dd56b32944b6ff2a6 (patch)
tree7e58bf591cf67f3dff7534f48f2f73caefa26ac5
parentPostgres setup (diff)
downloadRory-Open-Architecture-aa2cb08ff28e9ba17b6c632dd56b32944b6ff2a6.tar.xz
Postgres data dir as subdir
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
-rwxr-xr-xbuild.sh2
-rw-r--r--host/Rory-postgres/configuration.nix2
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!