GithubHelp home page GithubHelp logo

arch-setup's Introduction

Assumptions

  • Booting in UEFI mode.
  • The main storage disk is an SSD.

Installation

  1. Download the installation image.

  2. Prepare the installation USB drive. Make sure that it is not mounted.

sudo bash -c 'cat path/to/archlinux-version-x86_64.iso > /dev/sdx'
  1. Boot the live USB drive.

  2. Set azerty console keyboard layout.

loadkeys fr-latin1
  1. Connect to the wireless network.
iwctl
[iwd]# device list
[iwd]# station <device> scan
[iwd]# station <device> get-networks
[iwd]# station <device> connect "<SSID>"
  1. Download this repository.
curl -sfL https://github.com/rjurga/arch-setup/archive/master.tar.gz | tar zxf -
  1. Modify the variables at the top of setup.sh and setup-chroot.sh.

  2. Run setup.sh. When asked, type:

    • The disk encryption password (3 times).
    • The user password (2 times).
    • SSH key passphrase (2 times).
  3. Reboot.

reboot

Post-installation steps

  1. Install yay AUR helper.
curl -sfL https://aur.archlinux.org/cgit/aur.git/snapshot/yay-bin.tar.gz | tar zxf -
cd yay-bin
makepkg -si
cd ..
rm -rf yay-bin
  1. Install Google Chrome.
yay -S google-chrome
  1. Install Visual Studio Code.
yay -S visual-studio-code-bin
code --install-extension ms-python.python
code --install-extension ms-vscode.cpptools
  1. Install Anki.
yay -S anki-official-binary-bundle
  1. Install Tailscale.
yay -S tailscale
sudo systemctl enable --now tailscaled.service
sudo tailscale up

Notes

  • During installation, you might see harmless errors about microcode reloading. Reloading is done properly on reboot.
  • Btrfs-specific mount options for subvolumes are specified even if not taken into account. Subvolume options support is planned in the future, so I just leave it there.
  • Configuring /etc/hosts for local hostname resolution might not be necessary anymore.

TODO

  • Steam
  • fwupd
  • Chrome hardware acceleration
  • Qemu
  • bcachefs once it lands in kernel and is stable

arch-setup's People

Watchers

Radek Jurga avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.