summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-10-16 15:37:49 +0200
committerxengineering <me@xengineering.eu>2025-10-16 20:36:25 +0200
commit112a0d6266f50a0fd0026732ca9e6fedde78687d (patch)
treea4891b3b834a5d18fa6438753431e1e6af13f873 /content
parent3cad1aa44bd3e6ec13090de2d87c00d625c6520a (diff)
downloadwebsite-112a0d6266f50a0fd0026732ca9e6fedde78687d.tar
website-112a0d6266f50a0fd0026732ca9e6fedde78687d.tar.zst
website-112a0d6266f50a0fd0026732ca9e6fedde78687d.zip
articles: arch-installation: Use systemd networking
This switches from: - NetworkManager - chrony to: - systemd-networkd - systemd-resolved - systemd-timesyncd - iwd This reduces the required packages, moves to more minimal software and allows convenient configuration based on simple text files.
Diffstat (limited to 'content')
-rw-r--r--content/articles/arch-installation.md16
1 files changed, 12 insertions, 4 deletions
diff --git a/content/articles/arch-installation.md b/content/articles/arch-installation.md
index afcf4b5..ada1374 100644
--- a/content/articles/arch-installation.md
+++ b/content/articles/arch-installation.md
@@ -130,8 +130,7 @@ pacstrap -K /mnt \
linux-firmware \
parted \
btrfs-progs \
- networkmanager \
- chrony \
+ iwd \
nano \
htop \
openssh \
@@ -164,8 +163,17 @@ locale-gen
echo 'LANG=en_US.UTF-8' > /etc/locale.conf
echo 'archlinux' > /etc/hostname
echo 'root' | passwd -s
-systemctl enable NetworkManager
-systemctl enable chronyd
+echo '[Match]
+Kind=!*
+Type=ether wlan
+
+[Network]
+DHCP=yes' > /etc/systemd/network/auto.network
+systemctl enable systemd-networkd.service
+systemctl enable systemd-resolved.service
+ln -sf ../run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
+systemctl enable iwd.service
+systemctl enable systemd-timesyncd.service
```
The systemd bootloader is installed and configured.