42 lines
2.1 KiB
Markdown
42 lines
2.1 KiB
Markdown
# Installer
|
|
This script downloads everything I need to get a functional working setup.
|
|
|
|
The script installs the following software with my custom configurations:
|
|
- [dwl](https://codeberg.org/dwl/dwl) (window manager, [obviously my fork](https://git.amolinae.com/amolinae06/dwl))
|
|
- [fuzzel](https://codeberg.org/dnkl/fuzzel) (app launcher)
|
|
- [foot](https://codeberg.org/dnkl/foot) (terminal)
|
|
- [zsh](https://www.zsh.org) (shell)
|
|
- [lf](https://github.com/gokcehan/lf) (file manager)
|
|
- [imv](https://sr.ht/~exec64/imv) (image viewer)
|
|
- [mpv](https://mpv.io) (video player)
|
|
- [btop](https://github.com/aristocratos/btop) (resource monitor)
|
|
- [librewolf](https://librewolf.net) (web browser)
|
|
- [zathura](https://pwmt.org/projects/zathura) (pdf viewer)
|
|
- [neovim](https://neovim.io) (text editor/code editor)
|
|
- [spotify_player](https://github.com/aome510/spotify-player) (as music player)
|
|
|
|
## Installation
|
|
You need to have an Alpine Linux installation with at least one user. To run this script, you need to be on the `edge` branch and have the `community` and `testing` repositories enabled.
|
|
|
|
```sh
|
|
wget https://git.amolinae.com/amolinae06/installer/raw/branch/main/installer.sh && doas sh installer.sh
|
|
```
|
|
|
|
It will prompt for a username, you'll need to input the user you want the dotfiles, chroot, and shell setup installed to (e.g. amolinae, leon, etc.).
|
|
|
|
Aditionally, the software that requires to be compiled will be done after the post-install script gets called, this is because most of these require to be logged in as the user.
|
|
|
|
The whole installation shouldn't take more than `6 minutes`, in my case both installation attempts took around 4 to 5 minutes. After it finishes it is time to make a few extra setup steps such as installing nvidia drivers or amd drivers which should be mandatory if you have the hardware.
|
|
|
|
## TODO
|
|
- [X] Read `software.csv`
|
|
- [X] Install software.
|
|
- [X] Setup services.
|
|
- [X] Setup home directory.
|
|
- [X] Setup chroot.
|
|
- [X] Compile git software on chroot.
|
|
- [ ] Cleanup files.
|
|
- [ ] Auto reboot.
|
|
- [ ] Error handling.
|
|
- [ ] Make the scripts look prettier.
|
|
- [ ] Add to my domain (amolinae.com) for easier retrieval.
|