clux/provision

arch extras

Closed this issue · 3 comments

clux commented

Need some place to stash some extra stuff. Writing it down to remember.

  • need a non-abandoned display manager - lightdm 93fbca2
  • display manager default keyboard - /etc/default/keyboard is not a thing on arch => localectl set-keymap
  • fstab stuff for ntfs
  • boot after localectl by the looks of it - sublime was acting weird till before a boot
  • ssh agent is extra whiny on arch - keyring and x11-ssh-askpass is a little weird as well
  • fonts packages - liberation for system
  • fonts for chrome - dejavu set to 12, minimum 10 - default scaling 100% (otherwise break things like svgs)
  • mpd configs working in dotfiles - just need to systemctl --user enable mpd.service
clux commented

ssh-agent is taken care of with keyring and a small helper in .functions in dotfiles now.

clux commented

If i'll keep using this OS even after an upcoming gentoo experiment, then currently it's in a good state. Most stuff are in good states. Not sure how an optimus laptop would deal on arch though..

clux commented

in the next install should simplify systemd usage.
Use systemd-firstboot before entering the chroot by specifying --root

This should allow skipping out on three+ steps below that we usually do inside the chroot:

  • timezone select
  • localegen
  • passwd

maybe also systemd-timesyncd instead of hwclock stuff - it may still be useul 'adjust for time skew'

Edit: expected stuff to work:

# after mounting and turning on swapping:
pacstrap /mnt base base-devel
systemd-firstboot --root=/mnt \
  --timezone=Europe/London \
  --locale=en_GB.UTF-8 \
  --locale-messages=en_GB.UTF-8 \
  --hostname=kjttks
arch-chroot /mnt /bin/bash
# verify:
hostnamectl status # if failed, then hostnamectl set-hostname kjttks
localectl status # if not right, then localectl set-locale LANG=en_GB.UTF-8
timedatectl status # if not right timedatectl set-timezone Europe/London
#
passwd # set root pw
systemctl enable dhcpcd@enp3s0
timedatectl set-ntp true
pacman -S linux-lts # unless using linux below
mkinitcpio -p linux-lts
pacman -S grub-bios
grub-mkconfig -o /boot/grub/grub.cfg
grub-install /dev/sda # did say installing for i386
exit
reboot
#as root
localectl set-keymap colemak