From 112a0d6266f50a0fd0026732ca9e6fedde78687d Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 16 Oct 2025 15:37:49 +0200 Subject: 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. --- content/articles/arch-installation.md | 16 ++++++++++++---- 1 file 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. -- cgit v1.2.3-70-g09d2