Home Sweet Home

Bootstrap

To install chezmoi:

sudo pacman -S chezmoi

To initialize it:

chezmoi init https://github.com/<user>/dotfiles.git

To apply it:

chezmoi apply

Note: a lot of packages will be installed. Probably would be a good idea to reboot the system after it.

For the exhaustive list of packages, you can check the packages.toml file from the repo.

Hint: A good reference for essential packages is to check the ones available in the Arch Linux live system (ISO). You can find them here. Another good source is to check the packages available in the EndeavourOS ISO. You can find them in their repo.

Graphical Interface

To launch niri from the tty:

niri-session

Shell

To check if Nushell is in the valid shells list:

cat /etc/shells

To set Nushell as login shell:

chsh -s /usr/bin/nu <user>

Note: Reboot the system to check if everything is ok

Font

To refresh the font cache:

sudo fc-cache -fv

SSH

To generate a new SSH key:

ssh-keygen -t ed25519 -C "your_email@example.com"

To check the public key:

cat ~/.ssh/id_ed25519.pub

To test the SSH connection:

ssh -T git@github.com

Neovim

To install and set Neovim nightly using bob:

bob install nightly
sudo bob use nightly

To increase the maximum number of inotify watches and queued events. Edit the /etc/sysctl.conf file:

sudo nano /etc/sysctl.conf
fs.inotify.max_queued_events=524288
fs.inotify.max_user_watches=524288

Pandoc

Download Pandoc latest release from the repo

To install it:

sudo tar xvzf /path/to/pandoc-version-linux-amd64.tar.gz --strip-components 1 -C /usr/local

Display Manager

To enable the ly service:

systemctl enable ly

To edit ly default configuration:

sudo nano /etc/ly/config.ini

Reboot the system (I'm neurotic):

reboot

# there's no place like home