1
0
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:
Donovan Glover 2018-12-12 06:49:50 -05:00
parent c552c3b633
commit 044d919bba
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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"