From 0be668443eda2ba1618034887dd6ebe9cb47b524 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 6 Dec 2018 18:13:48 -0500 Subject: [PATCH] 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. --- .archlinux/install-scripts/002-install | 2 +- .archlinux/install-scripts/004-postinstall | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.archlinux/install-scripts/002-install b/.archlinux/install-scripts/002-install index 0bbddbfa..7bf8b040 100755 --- a/.archlinux/install-scripts/002-install +++ b/.archlinux/install-scripts/002-install @@ -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 diff --git a/.archlinux/install-scripts/004-postinstall b/.archlinux/install-scripts/004-postinstall index 844ab7ec..8c1fb41a 100755 --- a/.archlinux/install-scripts/004-postinstall +++ b/.archlinux/install-scripts/004-postinstall @@ -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