Starfall's dotfiles setup. This is ["the best way to store your dotfiles"](https://www.atlassian.com/git/tutorials/dotfiles). ## Prerequisites * git ## Starting your own ```bash git init --bare $HOME/.dotfiles alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' config config --local status.showUntrackedFiles no echo "alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" >> .bashrc ``` ## Checking out on a new machine ```bash git clone --bare https://git.starfall.systems/dots $HOME/.dotfiles alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' config checkout config config --local status.showUntrackedFiles no ``` ## Other new machine setup ### minimal desktop * base-devel * firefox * fzf * git * htop * pass * vim * zsh (remember to `chsh -s $(which zsh)`) ### minimal services * sshd * ntpd #### sshd config ```bash echo <> /etc/ssh/sshd_config ``` ### network todo: * iwd * systemd-networkd ```bash echo < /etc/resolv.conf ``` #### avahi per [arch wiki](https://wiki.archlinux.org/title/Avahi): ```bash pacman -S avahi nss-mdns systemctl enable avahi-daemon systemctl start avahi-daemon # in /etc/nsswitch.conf, add `mdns_minimal [NOTFOUND=return]` before `resolve` ``` ### to describe * x and xfce * fortune * autoupdates * krita and tablet support * gvfs (if still needed) * sound: pipewire, wireplumber * gpg, gpg-agent * turn all of this stuff into an ansible playbook or something else automatable ## Pinebook Pro specific setup ### Optimize mirrors list Default mirrors were really slow for me. `sudo pacman-mirrors --fasttrack && sudo pacman -Syyu` bumped up the download speed from 30 kbps to 300kbps; still not the full connection but livable. ### Flash keyboard firmware `git clone https://github.com/jackhumbert/pinebook-pro-keyboard-updater` and follow the instructions. Have an external keyboard handy after step 1. ### Configure ZRAM Manjaro 20.06 appears to come with a /dev/zram0 preconfigured.