An open API service indexing awesome lists of open source software.

https://github.com/lindhe/dotfiles

These are my dotfiles. Not made with portability in mind, but feel free to take a look if you want to.
https://github.com/lindhe/dotfiles

Last synced: 2 months ago
JSON representation

These are my dotfiles. Not made with portability in mind, but feel free to take a look if you want to.

Awesome Lists containing this project

README

        

# dotfiles

These are my dotfiles. Not meant to be shared, but feel free to take a look if you want to.

## Usage

```shell
git clone https://github.com/lindhe/dotfiles.git ~/dotfiles
git clone https://github.com/lindhe/scripts.git ~/git/lindhe/scripts
~/dotfiles/setup.sh
```

### Install dependencies

```shell
sudo add-apt-repository ppa:git-core/ppa
```

```shell
sudo apt install \
curl \
tree zsh \
build-essential \
git git-lfs \
safe-rm \
tmux jq unzip shellcheck colordiff
```

```shell
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
sudo rm -rf /opt/nvim
sudo tar -C /opt -xzf nvim-linux64.tar.gz
export PATH="$PATH:/opt/nvim-linux64/bin"
```

```shell
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
```

#### Laptop extras

```shell
sudo add-apt-repository ppa:phoerious/keepassxc
sudo apt install \
gnome-screenshot \
scdaemon \
keepassxc \
xclip
```

#### Server extras

```shell
sudo apt install \
zfsutils-linux zfs-auto-snapshot \
mailutils msmtp-mta s-nail \
nfs-kernel-server \
smartmontools \
restic \
ipmitool
sudo snap install \
nextcloud
```

```
export DOTFILES=~/dotfiles

pushd ~
ln -fs "${DOTFILES:?}/.zsh_server" .
popd
```

```
sudo ipmitool sensor thresh FAN2 lower 0 100 200
sudo ipmitool sensor thresh FAN3 lower 0 100 200
```

```
# https://ghostty.org/docs/help/terminfo#ssh
infocmp -x | ssh YOUR-SERVER -- tic -x -
```

- [ ]
- [ ]
- [ ]

## Post-install checklist

- [ ] Add me to the `docker` group: `usermod -aG docker ${USER}`
- [ ] SSH hardening.
- [ ] Setup SSH keys: `ssh-keygen -t ed25519 -C "${USER:?}@$(hostname -f)"`
- [ ] Ubuntu Live Patch: https://ubuntu.com/advantage
- [ ] Configure a [Docker Credential Helper](https://github.com/docker/docker-credential-helpers/) in `~/.docker/config.json`.