mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-16 11:51:13 +01:00
docs: Update install-scripts README
In the near future the install scripts should be usable with a single and simple command.
This commit is contained in:
parent
0d2bfe21f8
commit
7732bc7c52
@ -7,12 +7,29 @@ Here are my Arch Linux install scripts. They are divided into 4 parts:
|
|||||||
3. Configure: Writing some basic low-level config files
|
3. Configure: Writing some basic low-level config files
|
||||||
4. Post-install: Post-install configuration
|
4. Post-install: Post-install configuration
|
||||||
|
|
||||||
I have one `install.sh` script that calls the first three scripts with the proper settings. The fourth script should be ran after a reboot. (TODO: Probably easier to run a subset of post-install commands in the installation media, + internet will already be covered, which allows us to clone this repository to the newly created home directory and run any other post-install commands on first boot... may also be useful to divide the install scripts a bit further to support more options).
|
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][archguide] instead.
|
> **Note**: If you do not understand my install scripts, you should follow the [Installation guide][archguide] instead.
|
||||||
|
|
||||||
## Setup
|
## Usage
|
||||||
|
|
||||||
> TODO...
|
First, download the .files archive, like so:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
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.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pacman -Sy unzip --noconfirm
|
||||||
|
unzip master.zip
|
||||||
|
```
|
||||||
|
|
||||||
|
Finally, run the install script:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./.files-master/.archlinux/install-scripts/install.sh
|
||||||
|
```
|
||||||
|
|
||||||
[archguide]: https://wiki.archlinux.org/index.php/Installation_guide
|
[archguide]: https://wiki.archlinux.org/index.php/Installation_guide
|
||||||
|
Loading…
Reference in New Issue
Block a user