Recently Written · git

waybase

Bootable installer: KISS, Gentoo, Arch or Alpine + Nix + a Wayland compositor (sway, river, labwc, dwl)

git clone https://github.com/equwal/waybase

Log | Files | Refs


commit b017c1deda1b1d1b10b824f592c0be362639d83d
equwal <13551856+equwal@users.noreply.github.com>
2026-10-04 02:08:40 -0700

Arch: skip systemd-firstboot prompts

Set UTC, keymap us and a machine id, and mask systemd-firstboot; it asked
for a timezone on the first boot and blocked the login.

 backends/arch.sh | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/backends/arch.sh b/backends/arch.sh
index 0394e26..5668797 100644
--- a/backends/arch.sh
+++ b/backends/arch.sh
@@ -13,6 +13,9 @@ bootstrap() {
     ch "pacman -Syu --noconfirm --needed base linux $fw mkinitcpio cryptsetup e2fsprogs sudo \
         mesa ttf-dejavu" >/dev/null
     echo LANG=C.UTF-8 > $M/etc/locale.conf
+    ln -sf /usr/share/zoneinfo/UTC $M/etc/localtime
+    echo KEYMAP=us > $M/etc/vconsole.conf
+    ch "systemd-machine-id-setup && systemctl mask systemd-firstboot" >/dev/null 2>&1  # no prompts on first boot
     printf '[Match]\nName=en* eth*\n\n[Network]\nDHCP=yes\n' > $M/etc/systemd/network/20-wired.network
     ch "systemctl enable systemd-networkd systemd-resolved" >/dev/null 2>&1
 }