blob: 665996d415afdd5d0cb50443b19ec709cddb825a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
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
### installed packages
* base-devel
* firefox
* fzf
* git
* htop
* pass
* vim
* zsh (remember to `chsh -s $(which zsh)`)
### sshd config
```bash
echo <<END
PermitRootLogin no
PasswordAuthentication no
END >> /etc/ssh/sshd_config
```
### todo
* zsh plugins
* zinit
* p10k? honestly don't really need it
* zsh-users/zsh-autosuggestions (maybe)
* zsh-users/zsh-syntax-highlighting
* zsh-users/zsh-completions
* fortune
* autoupdates
* krita and tablet support
* 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.
|