Note
While I tried to keep this free of hard-coded strings and such, this is mainly meant for personal use
- Windows is already installed
- Windows and Linux will live on the same drive
- AMD GPU
- Download an Arch
.iso
from Arch Linux Downloads (e.g.archlinux-2024.01.01-x86_64.iso
) - Use Rufus to burn the
.iso
to a USB stick - Use Disk Management to shrink the Windows partition
- Boot from the USB stick
- Run the installer with:
curl -L -O https://raw.githubusercontent.com/hotsno/arch-install/main/install.sh
sh install.sh
- If you mess up on any of the inputs, spam
Ctrl-C
!
GitHub SSH keys
mkdir "$XDG_CONFIG_HOME/ssh"
ssh-keygen -t ed25519 -C "71658949+hotsno@users.noreply.github.com" -N "" -f "$XDG_CONFIG_HOME/ssh/github-hotsno"
eval "$(ssh-agent -s)"
ssh-add "$XDG_CONFIG_HOME/ssh/github-hotsno"
cat "$XDG_CONFIG_HOME/ssh/github-hotsno.pub" | wl-copy
xdg-open "https://github.com/settings/keys"
# Click "New SSH key" and paste
You can do this so you can type gh
instead of git@github.com
Add the following to $XDG_CONFIG_HOME/ssh/config
:
Host *
UserKnownHostsFile=~/.config/ssh/known_hosts
Host gh
HostName github.com
User git
IdentityFile ~/.config/ssh/github-hotsno