summary refs log tree commit diff
diff options
context:
space:
mode:
-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!