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.
- Host: GitHub
- URL: https://github.com/lindhe/dotfiles
- Owner: lindhe
- License: gpl-2.0
- Created: 2015-01-22T21:47:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-03-08T10:26:08.000Z (4 months ago)
- Last Synced: 2025-03-08T11:25:22.438Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 4.52 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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=~/dotfilespushd ~
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`.