Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

hotsno/arch-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 

Repository files navigation

arch-install

Note

While I tried to keep this free of hard-coded strings and such, this is mainly meant for personal use

(Intended) Requirements

  • Windows is already installed
  • Windows and Linux will live on the same drive
  • AMD GPU

Usage

  1. Download an Arch .iso from Arch Linux Downloads (e.g. archlinux-2024.01.01-x86_64.iso)
  2. Use Rufus to burn the .iso to a USB stick
  3. Use Disk Management to shrink the Windows partition
  4. Boot from the USB stick
  5. Run the installer with:
curl -L -O https://raw.githubusercontent.com/hotsno/arch-install/main/install.sh
sh install.sh
  1. If you mess up on any of the inputs, spam Ctrl-C!

Post-install

GitHub SSH keys

Generate and add SSH key

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

Create SSH alias

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

About

Arch Linux installer script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages