Last active
December 29, 2019 19:50
-
-
Save leicht-io/d3d340c6ca1c7f2f9940081751e1a3d9 to your computer and use it in GitHub Desktop.
ArchLinuxArm Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-4 | |
pacman-key --init | |
pacman-key --populate archlinuxarm | |
# https://raspberrypi.stackexchange.com/questions/7987/wifi-configuration-on-arch-linux-arm | |
pacman -Syu && pacman -S netctl && pacman -S vim && pacman -S sudo | |
pacman -R vi && pacman -R nano | |
# https://wiki.archlinux.org/index.php/Netctl | |
wifi-menu -o | |
sudo iw dev wlan0 set power_save off | |
https://medium.com/@jrcharney/weekend-with-archlinuxarm-18e3d9dab466 | |
# Add alarm to /etc/sudoers | |
https://medium.com/@jrcharney/weekend-with-archlinuxarm-2-arch-madness-4ff32ac69ec0 | |
https://medium.com/@jrcharney/weekend-with-arch-linux-3-packaged-delivery-a42621739495 | |
# | |
pacman -S sway | |
pacman -S wayland | |
pacman -S chromium | |
# /boot/config.txt | |
framebuffer_depth=32 | |
gpu_mem=256 | |
dtoverlay=vc4-kms-v3d | |
# add the following to bash_profile | |
if [ "$(tty)" = "/dev/tty1" ]; then | |
exec sway | |
fi | |
# copy sway config and add "exec chromium" | |
mkdir -p ~/.config/sway | |
cp /etc/sway/config ~/.config/sway/ | |
$EDITOR ~/.config/sway/config | |
# Add user to video group | |
sudo usermod -a -G video alarm | |
# add audit=0 cma=128M to /boot/cmdline.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment