devcontainer: add /home folder

useradd breaks if /home doesn't exist
This commit is contained in:
zimbatm 2019-12-21 09:07:26 +01:00
parent 3f1e51533a
commit cc193359bb
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

View file

@ -81,6 +81,7 @@ let
ln -s /nix/var/nix/profiles/default/bin/bash bin/bash
# setup shadow, bashrc
mkdir home
cp -r ${./root/etc} etc
chmod +w etc etc/group etc/passwd etc/shadow