wifi-setup
Setup wifi using wifi-mency
timedatectl set-ntp true
For some reason, the X299 Tomahawk AC does not allow to boot an NVME SSD using UEFI, so we need to do a legaxy boot. This machine hosts a 250GB NVME SSD. My setup is really simple: 100 MiB boot partition, 32 GiB root partition and the rest is for home.
parted /dev/nvme0n1
(parted) mklabel msdos
(parted) mkpart primary ext4 1MiB 100MiB
(parted) set 1 boot on
(parted) mkpart primary ext4 100MiB 32GiB
(parted) mkpart primary ext4 32GiB 100%
mkfs.ext4 /dev/nvme0n1p1
mkfs.ext4 /dev/nvme0n1p2
mkfs.ext4 /dev/nvme0n1p3
mount /dev/nvme0n1p2 /mnt
mkdir /mnt/boot
mount /dev/nvme0n1p1 /mnt/boot
mkdir /mnt/home
mount /dev/nvme0n1p3 /mnt/home
This is not in the Arch install wiki, and considerably speeds the download. Comment out every server and uncomment Canadian severs
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
rankmirrors -n 10 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist
pacstrap /mnt base base-devel
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
ln -sf /usr/share/zoneinfo/Canada/Eastern /etc/localtime
hwclock --systohc
pacman -S vim
Uncomment en_CA.UTF-8 UTF8 in /etc/locale.gen
locale-gen
Add LANG=en_CA.UTF-8 in /etc/locale.conf
This computer is called labeast
/etc/hostname
-------------
labeast
/etc/hosts
----------
127.0.0.1 labeast.localdomain labeast
pacman -S iw wpa_supplicant netctl dialog
Generate a netctl profile using wifi-menu and load it on start up
sudo wifi-menu -o
sudo netctl start wlp3s0-Wi-Fi
sudo netctl enable wlp3s0-Wi-Fi
passwd
pacman -S grub intel-ucode
grub-install --target=i386-pc /dev/nvme0n1
grub-mkconfig -o /boot/grub/grub.cfg
/etc/ssh/sshd_config
--------------------
PasswordAuthentication no
PermitRootLogin no
Enable SSH for local network only.
pacman -S ufw
ufw default deny
ufw limit from 10.0.1.0/24 to any port 22
ufw enable
pacman -S sudo
Using visudo, uncomment %wheel ALL=(ALL) ALL in /etc/sudoers, to allow users in wheel to sudo.
Lock root account
passwd -l root
pacman -S sway
pacman -S rxvt-unicode
ttf-font-awesome
ttf-droid
adobe-source-code-pro-fonts
sudo pacman -S powerline powerline-fonts