about summary refs log tree commit diff stats
path: root/bootstrap/setup
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-25 08:51:54 +0100
committerene <ene@sils.li>2023-02-25 08:51:54 +0100
commit304664a405aade8edf129a06d89cea0f89a61e23 (patch)
tree78f2ed1a1b647986442f2f707ce27d9eeea98e24 /bootstrap/setup
parentFix(impermance): Remove uncertain setting (diff)
downloadnixos-config-304664a405aade8edf129a06d89cea0f89a61e23.zip
Fix(bootstrap): Make the path based on the /mnt root
Diffstat (limited to 'bootstrap/setup')
-rwxr-xr-xbootstrap/setup/setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/setup/setup.sh b/bootstrap/setup/setup.sh
index 3a73793b..42a9a4b7 100755
--- a/bootstrap/setup/setup.sh
+++ b/bootstrap/setup/setup.sh
@@ -31,8 +31,8 @@ nixos-install --flake git+https://git.sils.li/ene/nixos-config#${host} --no-root
 git clone https://git.sils.li/ene/nixos-config /mnt/srv/etc/nixos
 
 # setup persistent home dir
-mkdir -p /srv/home
-chmod 777 /srv/home
+mkdir -p /mnt/srv/home
+chmod 777 /mnt/srv/home
 
 readp "Do you want to continue with the user configuration setup?[y/n]: " result;
 case "$result" in