<commit_before>* live media
** booted EFI?
ls /sys/firmware/efi/efivars
** have internet?
wifi-menu or nmcli
** right time?
timedatectl set-ntp true 

* install
** mount
if efi, mount efi on /boot
** base
pacstrap /mnt base base-devel
** fstab
genfstab -U /mnt >> /mnt/etc/fstab

can get uuids in /dev/disk/by-uuid
** chroot
arch-chroot /mnt
alias l="ls --color=always"
** timezone
ln -sf /usr/share/zoneinfo/Europe/Stockholm /etc/localtime
timedatectl set-ntp true 
hwclock --systohc
** locale
vim /etc/locale.gen
want en_US utf8, sv_SE utf8+iso

locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
** host
echo arc > /etc/hostname
** network again
pacman -S wpa_supplicant wpa_actiond dialog
** root pw
passwd
** bootloader
*** efibootmgr
pacman -S efibootmgr
efibootmgr -d /dev/sda -p 1 -c -L "arch" -l /vmlinuz-linux -u "root=/dev/sda2 rw initrd=/intel-ucode.img initrd=/initramfs-linux.img"

* reboot
systemctl enable netctl-auto@wlan0

pacman -S tmux git vim fzf htop bash-completion
get dotfiles

** pacaur
curl https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz > cower.tar.gz
tar xf cower.tar.gz
cd cower
makepkg -si --skippgpcheck
cd ..
cower -d pacaur
cd pacaur
makepkg -si
** abs
pacman -S abs
abs
** user
useradd -m -G wheel fizzo
gpasswd -a fizzo video

visudo -- uncomment wheel
** graphics
pacman -S mesa xorg-server xorg-xinit
    noto-fonts noto-fonts-cjk noto-fonts-emoji dina-font
    xmonad xmonad-contrib xmobar trayer
    firefox dmenu maim
    xorg-xrandr xorg-xbacklight feh
    sxiv mpv evince zathura
** audio
pacman -S pulseaudio pavucontrol
** autologin
/etc/systemd/system/getty@tty1.service.d/override.conf
    [Service]
    Type=simple
    ExecStart=
    ExecStart=-/usr/bin/agetty --autologin fizzo --noclear %I $TERM

add the .profile if uncommented<commit_msg>More comments arch log<commit_after>* live media
** booted EFI?
ls /sys/firmware/efi/efivars
** have internet?
wifi-menu or nmcli
** right time?
timedatectl set-ntp true 

* install
** mount
if efi, mount efi on /boot
** base
pacstrap /mnt base base-devel
** fstab
genfstab -U /mnt >> /mnt/etc/fstab

can get uuids in /dev/disk/by-uuid
** chroot
arch-chroot /mnt
alias l="ls --color=always"
** timezone
ln -sf /usr/share/zoneinfo/Europe/Stockholm /etc/localtime
timedatectl set-ntp true 
hwclock --systohc
** locale
vim /etc/locale.gen
want en_US utf8, sv_SE utf8+iso

locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
** host
echo arc > /etc/hostname
** network again
pacman -S wpa_supplicant wpa_actiond dialog
** root pw
passwd
** bootloader
*** efibootmgr
pacman -S efibootmgr
efibootmgr -d /dev/sda -p 1 -c -L "arch" -l /vmlinuz-linux -u "root=/dev/sda2 rw initrd=/intel-ucode.img initrd=/initramfs-linux.img"

* reboot
systemctl enable netctl-auto@wlan0

pacman -S tmux git vim fzf htop bash-completion openssh
get dotfiles

** pacaur
curl https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz > cower.tar.gz
tar xf cower.tar.gz
cd cower
makepkg -si --skippgpcheck
cd ..
cower -d pacaur
cd pacaur
makepkg -si
** abs
pacman -S abs
abs
** user
useradd -m -G wheel fizzo
gpasswd -a fizzo video

visudo -- uncomment wheel
** graphics
pacman -S mesa xorg-server xorg-xinit
    noto-fonts noto-fonts-cjk noto-fonts-emoji dina-font ttf-dejavu
    xmonad xmonad-contrib xmobar trayer
    firefox dmenu maim
    xorg-xrandr xorg-xbacklight feh
    sxiv mpv evince zathura
** audio
pacman -S pulseaudio pavucontrol
** autologin
/etc/systemd/system/getty@tty1.service.d/override.conf
    [Service]
    Type=simple
    ExecStart=
    ExecStart=-/usr/bin/agetty --autologin fizzo --noclear %I $TERM

add the .profile if uncommented
** various
*** firefox dirs
.config/user-dirs.dirs
    XDG_DESKTOP_DIR="$HOME/"
*** e-file
pacman -Fo
after
pacman -Fy
{'fraction_non_alphanumeric': 0.11471919084375831, 'fraction_numerical': 0.0037263774287995743, 'mean_word_length': 3.5441354292623943, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5480769', 'n_tokens_mistral': 1565, 'n_tokens_neox': 1505, 'n_words': 413}