From 023bedf0e5d1f982354dcc03973780b037a95125 Mon Sep 17 00:00:00 2001 From: Felipe M Date: Fri, 1 Jan 2021 18:17:13 +0100 Subject: [PATCH] draft: archlinux-install-from-zero-to-hero --- .../contents.lr | 70 +++++++++++++++---- 1 file changed, 58 insertions(+), 12 deletions(-) diff --git a/content/blog/01-archlinux-install-from-zero-to-hero/contents.lr b/content/blog/01-archlinux-install-from-zero-to-hero/contents.lr index 8be0f4b..f2dece1 100644 --- a/content/blog/01-archlinux-install-from-zero-to-hero/contents.lr +++ b/content/blog/01-archlinux-install-from-zero-to-hero/contents.lr @@ -118,18 +118,15 @@ reboot # Login as root -# Setup IWD to use it's own DHCP -cat >/etc/iwd/main.con < -echo 'AutoConnect=true' >> /var/lib/iwd/.pks +# Connect to wifi +nmcli d wifi connntect password # Start and enable iwd and systemd-resolved services systemctl enable --now iwd @@ -157,13 +154,62 @@ vim /etc/systemd/sleep.conf - [ ] Docked toggle - [ ] VConsole auto lock? - [ ] IDLE toggle in VConsole? -- [ ] Bluetooth -- [ ] Audio - [ ] Hardware acceleration +## Hardware acceleration + +``` +pacman -S vulkan-intel +``` + +## Power + +``` +pacman -S tlp + +# Edit tlp configuration link power to prevent corruption on btrfs devices +# /etc/tlp.conf +# ... +SATA_LINKPWR_ON_BAT=max_performance +# ... +``` + +# Enable and start tlp +systemctl enable --now tlp + +## Audio + +pacman -S alsa-utils pulseaudio pulseaudio-alsa pavucontrol +systemctl start --user pulseaudio.socket + +## Bluetooth + +``` +pacman -S bluez bluez-utils +modprobe btusb +systemctl enable --now bluetooth +bluetoothctl -- power on +``` +## Brightness control + +``` +pacman -S brightnessctl +``` +## Fonts + +``` +pacman -S otf-ipafont # Japanese +pacman -S ttf-bitstream-vera # Default +``` + ## Userspace +Enable multilib repos to install steam + ``` useradd fmartingr pacman -S sway dmenu xorg-xwayland alacritty qutebrowser +pacman -S mako # notifications +# TODO notification history? + ```