mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-16 03:40:57 +01:00
f320b0c294
This commit makes it so that downloading the entire repository to run the install scripts is no longer necessary. It assumes that you have an active internet connection, which should be a given since you need an internet connection to run pacstrap anyway. |
||
---|---|---|
.. | ||
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