archlinux

Archlinux is a GNU/Linux distribution

Installation

Chiffrement

Consulter le wiki.

Avant de commencer à chiffrer, il faut réécrire le disque avec des données aléatoires :

dd if=/dev/urandom of=/dev/sda status=progress bs=64K

Partionner le disque pour obtenir une partition Bios boot (code ef02, pour MBR) et une partition Linux LUKS (code 8309)

gdisk /dev/sda

Chiffrer la partition Linux LUKS avec LUKS2 et PBKDF2 nécessaire pour que Grub puisse déchiffrer :

cryptsetup luksFormat --pbkdf pbkdf2 /dev/sda2

On créer le LVM :

vgcreate main /dev/mapper/cryptlvm
lvcreate -L 4G -n swap main
lvcreate -l 100%FREE -n home main

mkfs.ext4 /dev/main/root
mkswap /dev/main/swap

mount /dev/main/root /mnt
swapon /dev/main/swap

Installation propre

Installation des paquets

pacstrap -K /mnt base linux linux-firmware emacs nano grub intel-ucode lvm2 networkmanager wpa_supplicant ssh man-db btop 

Suivre les instructions de configure the system jusqu'à mkinitcpio.

Et puis continuer naturellement à partir des wikis

Creation d'un utilisateur

useradd -m becasse
passwd becasse
pacman -S sudo
EDITOR=emacs visudo # ajouter une ligne similaire à becasse ALL=(ALL:ALL) ALL

Fonts

yay ttf-fantasque-nerd 

Sway

https://github.com/swaywm/sway/wiki/i3-Migration-Guide

yay sway swaylock swaybg brightnessctl swayidle wlsunset autotiling xorg-xwayland

Thunar

yay thunar gvfs thunar-archive-plugin engrampa tumbler ffmpegthumbnailer zip tar unzip unrar gzip 

Bluetooth

yay bluez bluez-utils

Emacs

Offlineimap

It requires keepassxc and libsecret

yay offlineimap
mkdir .maildir
stow mail

Tools

SSH and SSH agent

Create a key

ssh-keygen -t rsa -b 4096

I choose the method with a daemon for the ssh agent

systemctl --user enable ssh-agent

add to bashrc

# forwarding SSH agent socket
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"

save the ssh passphrase into keepassxc and enable the loading into the ssh agent

Dotfiles management : stow

yay stow
mkdir ~/.dotfiles
cd ~/.dotfiles
git init

add to ~/.bashrc

export STOW_DIR=~/.dotfiles

Zathura

yay zathura zathura-pdf-mupdf zathura-ps zathura-djvu zathura-cb
stow zathura

Lecteur média

yay vlc tous les plugins mpv yt-dlp

Password manager

yay keepassxc 

Soucis

T400

Usage

Yay

Suppression de paquets

Supprimer un paquet

yay -R paquet

Purger les dépendances isolées

yay -Ycc

This post accepts webmentions. Do you have the URL to your post?

Otherwise, send your comment on my service.

Or interact from the fediverse with your username:

fediverse logo Share on the Fediverse