about summary refs log tree commit diff
path: root/README.md
blob: 0532d2d2a4079105af0255a4cb386e574cba1529 (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
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/.doftiles/ --work-tree=$HOME'" >> .bashrc
```

## Checking out on a new machine
```bash
git clone --bare ssh://git@monsterware.dev:60666/devin/dotfiles.git $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
* vim
* zsh (remember to `chsh -s $(which zsh)`)
* fzf

### sshd config
```bash
echo <<END
PermitRootLogin no
PasswordAuthentication no
END >> /etc/ssh/sshd_config
```

### todo
* zsh plugins
  * not sure if antigen, zinit, or zgen for the plugin manager
  * p10k?
  * zsh-users/zsh-autosuggestions (maybe)
  * zsh-users/zsh-syntax-highlighting
  * zsh-users/zsh-completions
* fortune
* firefox lockwise
* autoupdates
* krita and tablet support
* call out things that were preinstalled here - git, firefox, python
* 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