mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-16 20:00:50 +01:00
0be668443e
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. |
||
---|---|---|
.. | ||
001-preinstall | ||
002-install | ||
003-configure | ||
004-postinstall | ||
install.sh | ||
README.md |
Install Scripts
Here are my Arch Linux install scripts. They are divided into 4 parts:
- Pre-install: Setting up the drive to install Arch on
- Install: Installing Arch Linux to that drive
- Configure: Writing some basic low-level config files
- Post-install: Post-install configuration
I use install.sh
to call these scripts with the proper user-generated variables. (TODO: clone this repository to the newly created home directory and run any other post-install commands on first boot).
Note
: If you do not understand my install scripts, you should follow the Installation guide instead.
Usage
First, download the .files archive, like so:
wget https://github.com/GloverDonovan/.files/archive/master.zip
Then, install unzip
and unzip the archive. Note that -Sy
is used here since you don't want to update everything on the installation media, and unzip
is unlikely to break in this case.
pacman -Sy unzip --noconfirm
unzip master.zip
Finally, run the install script:
./.files-master/.archlinux/install-scripts/install.sh