summaryrefslogtreecommitdiff
path: root/content/guide
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2026-04-25 10:53:39 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2026-04-25 10:53:39 +0200
commit413d6f9e3691919a79d8eb4286ea308a01bc3e02 (patch)
treefca05a39e81b7cd4c92fc76ed93a900d5ca43960 /content/guide
parent6f7214705ceff6f41104651dac3059765f15f8cb (diff)
update artix guide to add dinit
Diffstat (limited to 'content/guide')
-rw-r--r--content/guide/artixinstall.md52
1 files changed, 34 insertions, 18 deletions
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 :