mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 11:21:42 +01:00
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:
parent
71179c2e67
commit
0be668443e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user