diff options
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/setup/setup.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bootstrap/setup/setup.sh b/bootstrap/setup/setup.sh index 6cbd8ee1..d8007a14 100755 --- a/bootstrap/setup/setup.sh +++ b/bootstrap/setup/setup.sh @@ -29,8 +29,9 @@ 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 /mnt/srv/home -chmod 777 /mnt/srv/home +mkdir --parents /mnt/srv/home +chown 1000:100 --recursive /mnt/srv/home +chmod 700 /mnt/srv/home readp "Do you want to continue with the user configuration setup?[N/y]: " result; case "$result" in |