| etc | ||
| home | ||
| opt/blocky | ||
| .gitignore | ||
| .stow-local-ignore | ||
| Makefile | ||
| README.md | ||
Installation
Arch
To install Arch Linux, I run a custom script.
How to install manually ?
See here : https://mielota.com/guide/archinstall/
Artix
How to install ?
Keymap
loadkeys fr-latin1
Connect to your Wi-Fi
rfkill unblock wifi
ip link set wlan0 up
connmanctl
scan wifi
services
agent on
connect id
EFI and ROOT partitions
I make a 1G partition for the EFI system and give the rest to the Linux Filesystem. You can use cfdisk instead of fdisk
(
echo g
echo n
echo 1
echo
echo +1G
echo t
echo 1
echo 1
echo n
echo 2
echo
echo
echo w
) | fdisk "/dev/nvme0n1" &> /dev/null
mkfs.fat -F 32 -n ESP /dev/nvme0n1p1
mkfs.ext4 -L ROOT /dev/nvme0n1p2
Mounting the partitions
mount /dev/disk/by-label/ROOT /mnt
mount --mkdir /dev/disk/by-label/ESP /mnt/boot
Basestrap
basestrap /mnt linux linux-firmware sof-firmware base base-devel grub efibootmgr runit elogind-runit networkmanager-runit terminus-font helix git
Fstab
fstabgen -U /mnt >> /mnt/etc/fstab
Artix Chrooting
artix-chroot /mnt
ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
hwclock --systohc
echo 'fr_FR.UTF-8 UTF-8' >> /etc/locale.gen
locale-gen
echo 'LANG=fr_FR.UTF-8' > /etc/locale.conf
echo -e 'KEYMAP=fr-latin1\nXKBLAYOUT=fr\nXKBMODEL=pc105\nXKBOPTIONS=terminate:ctrl_alt_bksp\nFONT=ter-132b' > /etc/vconsole.conf
echo hostname > /etc/hostname
passwd
useradd -m -G wheel user
passwd user
grub-install --target=x86_64-efi --efi-directory=/boot
grub-mkconfig -o /boot/grub/grub.cfg
exit
reboot
Post reboot
First of all, uncomment the correct line starting with %wheel :
# as root
EDITOR=helix visudo
NetworkManager
sudo ln -s /etc/runit/sv/NetworkManager /run/runit/service/
sudo sv start NetworkManager
nmcli device wifi connect SSID --ask
Brightnessctl
On a laptop you might need to adjust the screen's brightness :
sudo usermod -aG video $(whoami)
Extra repo
I like to use ungoogled chromium so I add the omniverse repo to /etc/pacman.conf :
[omniverse]
Server = https://omniverse.artixlinux.org/$arch
Some packages like hyprpicker and others are in Arch's extra repo. Let's add it to our database:
sudo pacman -S artix-archlinux-support
Then add these lines to the /etc/pacman.conf file :
[extra]
Include = /etc/pacman.d/mirrorlist-arch
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist-arch
#[multilib]
#Include = /etc/pacman.d/mirrorlist-arch
And run
sudo pacman-key --populate archlinux
sudo pacman -Syu
You might want to uncomment the Color and ParallelDownloads lines in /etc/pacman.conf
Pipewire
Install the packages :
sudo pacman -S pipewire pipewire-pulse pipewire-alsa pipewire-jack sof-firmware wireplumber
Copy the config files :
sudo cp /usr/share/pipewire/pipewire* /etc/pipewire/
Then you must find a way to start pipewire, pipewire-pulse and wireplumber, I do it in my hyprland.conf with the exec-once statement
Dox
Dot files installation
git clone https://codeberg.org/mielota/dox.git
cd dox
make stow
To delete all the symlinks created by stow
make unstow
Install paru
make paru
More
There is other rules in the Makefile you can check them