1
0
forked from extern/nix-config

archlinux: Clone this repository to the user's $HOME

This makes it easier to immediately start using dotfiles and other
config settings on first boot. It may even be useful to add an option
to run the entire bootstrap script in the installation media. Note that
if this route is taken, some assumptions regarding installation will
have to be changed to adjust for the chroot environment.
This commit is contained in:
Donovan Glover 2018-12-06 18:13:48 -05:00
parent 71179c2e67
commit 0be668443e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 4 additions and 1 deletions

View File

@ -6,4 +6,4 @@
set -xe
pacstrap /mnt base base-devel grub fish polkit rng-tools
pacstrap /mnt base base-devel grub fish git polkit rng-tools

View File

@ -36,3 +36,6 @@ arch-chroot /mnt useradd -m -g users -G wheel -s /usr/bin/fish "$USERNAME"
# Lock the root account (i.e. disable root login)
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