2023-05-07 16:51:37 -07:00
|
|
|
# Provision Arch
|
|
|
|
> \*I use arch btw\*
|
2023-04-01 16:23:45 -07:00
|
|
|
|
2023-05-07 16:51:37 -07:00
|
|
|
Jumpstart scripts to install Arch with packages and configs I use.
|
2023-04-01 16:23:45 -07:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2023-05-07 16:51:37 -07:00
|
|
|
Install Arch with BTRFS and partition:
|
2023-04-01 16:23:45 -07:00
|
|
|
|
|
|
|
```
|
|
|
|
1. 512Mb EFI partition at /boot/EFI
|
2023-05-07 16:51:37 -07:00
|
|
|
2. BTRFS volume with subvolumes:
|
|
|
|
@ -> /
|
|
|
|
@home -> /home
|
|
|
|
@log -> /var/log
|
|
|
|
@pkg -> /var/cache/pacman/pkg
|
|
|
|
@.snapshots -> /.snapshots
|
|
|
|
@home/.snapshots /home/.snapshots
|
2023-04-01 16:23:45 -07:00
|
|
|
```
|
|
|
|
|
2023-05-13 16:15:13 -07:00
|
|
|
Select pipewire for audio, networkmanager for network, and install.
|
2023-05-07 16:51:37 -07:00
|
|
|
|
2023-04-01 16:23:45 -07:00
|
|
|
Run the following commands:
|
|
|
|
|
|
|
|
```bash
|
2023-05-07 16:51:37 -07:00
|
|
|
pacman -S --needed git base-devel vim
|
|
|
|
|
|
|
|
# Install yay
|
|
|
|
git clone https://aur.archlinux.org/yay.git
|
|
|
|
cd yay
|
|
|
|
makepkg -si
|
|
|
|
|
|
|
|
# Get jumpstart files
|
2023-04-01 16:23:45 -07:00
|
|
|
sudo dnf install vim git -y
|
|
|
|
git clone --recurse-submodules https://github.com/starr-dusT/dotfiles ~/.local/share/chezmoi
|
|
|
|
```
|
|
|
|
|
|
|
|
Copy `.chezmoidata.yaml.example` to `.chezmoidata.yaml` and edit with desired settings then run the following commands:
|
|
|
|
|
|
|
|
```bash
|
2023-05-07 16:51:37 -07:00
|
|
|
~/.local/share/chezmoi/provision/arch/jumpstart.sh
|
2023-04-01 16:23:45 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
Perform additional setup found in [additional-setup](additional-setup.md)
|
|
|
|
|
|
|
|
## Update Setup
|
|
|
|
|
2023-05-07 16:51:37 -07:00
|
|
|
`linux-update --arch` command updates the system with ansible. Run `linux-update -h` for information on usage.
|