These are my dotfiles. Not meant to be shared, but feel free to take a look if you want to.
I'm trying out git subtree
to bring in dependencies. I know of no way to list
them easily, so I'll try to keep a list of them here:
.config/i3blocks/contrib
https://github.com/vivien/i3blocks-contrib
git clone https://github.com/lindhe/dotfiles.git ~/git/lindhe/dotfiles
git clone https://github.com/lindhe/scripts.git ~/git/lindhe/scripts
~/git/lindhe/dotfiles/setup.sh
sudo add-apt-repository ppa:git-core/ppa
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt install \
curl \
neovim tree zsh \
build-essential \
curl \
git git-lfs \
tmux jq unzip shellcheck colordiff
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sudo add-apt-repository ppa:phoerious/keepassxc
sudo apt install \
dunst i3 j4-dmenu-desktop playerctl rofi gnome-screenshot \
scdaemon pavucontrol keepassxc
sudo apt install \
zfsutils-linux zfs-auto-snapshot \
mailutils msmtp-mta s-nail \
nfs-kernel-server \
smartmontools \
restic
sudo snap install \
nextcloud
export DOTFILES=~/git/lindhe/dotfiles
pushd ~
ln -fs "${DOTFILES:?}/.zsh_server" .
popd
- https://github.com/zfsonlinux/zfs-auto-snapshot
- https://www.informaticar.net/supermicro-motherboard-loud-fans/
- https://askubuntu.com/a/1110474/80226
-
Set shell:
sudo chsh -s /usr/bin/zsh ${USER}
-
Configure locale:
sudo locale-gen sv_SE.UTF-8 cat ~/git/lindhe/dotfiles/locale/sv_SE | sudo tee -a /etc/default/locale
-
Set NeoVim as default editor:
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60 sudo update-alternatives --config vi sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60 sudo update-alternatives --config vim sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60 sudo update-alternatives --config editor
-
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 in
~/.docker/config.json
.