Skip to content

RafaelLuz/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rafael's dotfiles

Contents


Introduction


Installing Arch

Load brazilian keyboard layout:

$ loadkeys br-abnt

Configure wifi (skip if using cable):

  $ iwctl
  • follow the interactive instructions using the following commands (mind the order):
  device list
  station <device> scan
  station <device> get-networks
  station <device> connect <network>
  station <device> show
  exit

Check connection and interfaces:

$ ip a

Install Arch:

$ pacman -Sy python-archinstall
$ python -m archinstall
  • follow the interactive instructions.
  • after install, reboot without livemedia

Sync Arch keys and packages

$ sudo pacman -S archlinux-keyring
$ sudo pacman -Syu
$ sudo pacman -S nano

Configuring the fresh installation

Install git related packages:

$ sudo pacman -S openssh git

Allowing SSH connection (as server):

$ systemctl start sshd.service
$ systemctl status sshd.service  # just to check

[REMOTE VIA SSH] Creating public key:

$ ssh-keygen -o
  • follow the interactive instructions.
  • mind the quality of the passphrase.
  • add the key to github

[REMOTE VIA SSH] Cloning dotfiles repository:

$ git clone [email protected]:RafaelLuz/dotfiles.git

Creating symbolic links

$ cd ~/dotfiles
$ bash makelinks.sh

Install paru:

$ sudo pacman -S --needed base-devel
$ cd ~/.local/share
$ git clone https://aur.archlinux.org/paru.git
$ cd paru
$ makepkg -si
  • follow the interactive instructions.

Download and install packages:

$ cd ~/dotfiles
$ bash getpackages.sh