From 413d6f9e3691919a79d8eb4286ea308a01bc3e02 Mon Sep 17 00:00:00 2001 From: Nantha Sorubakanthan Date: Sat, 25 Apr 2026 10:53:39 +0200 Subject: update artix guide to add dinit --- content/guide/artixinstall.md | 52 ++++++++++++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 18 deletions(-) (limited to 'content') diff --git a/content/guide/artixinstall.md b/content/guide/artixinstall.md index 47281c1..921f002 100644 --- a/content/guide/artixinstall.md +++ b/content/guide/artixinstall.md @@ -139,22 +139,28 @@ mount --mkdir /dev/disk/by-label/ESP /mnt/boot Use `basestrap` to install linux to your disk. Choose which kernel you want, I chosed `linux` but there is alternatives such as `linux-lts`, `linux-hardened` and others. -I also chose to use `GRUB` for the bootloader and `runit` as my init system. +Also install an init system. Install one of them : -Replace `neovim` with your favorite, terminal-based text editor. +```sh +basestrap /mnt runit elogind-runit networkmanager-runit +``` + +or ```sh -basestrap /mnt linux linux-firmware base base-devel grub efibootmgr git neovim +basestrap /mnt openrc elogind-openrc networkmanager-openrc ``` -Also install an init system. I like both OpenRC and runit. Install one of them : +or ```sh -basestrap runit elogind-runit networkmanager-runit +basestrap /mnt dinit elogind-dinit networkmanager-dinit ``` +And then install those + ```sh -basestrap openrc elogind-openrc networkmanager-openrc +basestrap /mnt linux linux-firmware base base-devel grub efibootmgr git neovim ``` ### Fstab @@ -240,24 +246,21 @@ On `runit` first link the file : ```sh sudo ln -s /etc/runit/sv/NetworkManager /run/runit/service/ -``` - -You can then start the service : - -```sh sudo sv start NetworkManager ``` -With OpenRC, NetworkManager should be already enabled. If not, first enable it on boot : +With OpenRC, NetworkManager should be already enabled. If not : ```sh sudo rc-update add NetworkManager default +sudo rc-service NetworkManager start ``` -Then start it : +And with dinit : ```sh -sudo rc-service NetworkManager start +sudo dinit enable NetworkManager +sudo dinit start NetworkManager ``` To list available Wi-Fi : @@ -361,12 +364,25 @@ sudo pacman -S pipewire-openrc pipewire-pulse-openrc wireplumber-openrc Then enable the services for your user ```sh -rc-update add -U pipewire default -rc-update add -U pipewire-pulse default -rc-update add -U wireplumber default +sudo rc-update add -U pipewire default +sudo rc-update add -U pipewire-pulse default +sudo rc-update add -U wireplumber default +``` + +With dinit you have to install a package to let your user enable user-level services (like PipeWire and dbus). + +```sh +sudo pacman -S dinit-user-spawn +sudo dinitctl enable dinit-user-spawn +``` + +```sh +dinitctl enable pipewire +dinitctl enable pipewire-pulse +dinitctl enable wireplumber ``` -Reboot your computer and sound might be working now ! +Reboot your computer and sound must be working now ! If it's isn't working for some reason, I either misguided you, or your hardware isn't supported. In the second case install these packages : -- cgit v1.2.3