forked from extern/nix-config
archlinux: Clone this repository as the proper user
This fixes an issue where root would own all the files in the user's ~/.files directory, preventing the user from doing anything useful.
This commit is contained in:
parent
c552c3b633
commit
044d919bba
@ -38,4 +38,4 @@ arch-chroot /mnt useradd -m -g users -G wheel -s /usr/bin/fish "$USERNAME"
|
||||
arch-chroot /mnt passwd -l root
|
||||
|
||||
# Clone this repository to the user's $HOME
|
||||
arch-chroot /mnt git clone https://github.com/GloverDonovan/.files /home/$USERNAME/.files
|
||||
arch-chroot /mnt su "$USERNAME" -c "git clone https://github.com/GloverDonovan/.files /home/$USERNAME/.files"
|
||||
|
Loading…
Reference in New Issue
Block a user