Skip to content

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

License

Notifications You must be signed in to change notification settings

lindhe/dotfiles

Repository files navigation

dotfiles

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

Subtrees

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:

Usage

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

Install dependencies

sudo add-apt-repository ppa:git-core/ppa
sudo apt install \
    curl \
    tree zsh \
    build-essential \
    curl \
    git git-lfs \
    tmux jq unzip shellcheck colordiff
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"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Laptop extras

sudo add-apt-repository ppa:phoerious/keepassxc
sudo apt install \
    dunst i3 j4-dmenu-desktop playerctl rofi gnome-screenshot \
    scdaemon pavucontrol keepassxc

Server extras

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

Post-install checklist

Usability

  • 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/vim vim /opt/nvim-linux64/bin/nvim 61
    sudo update-alternatives --install /usr/bin/editor editor /opt/nvim-linux64/bin/nvim 61
    sudo update-alternatives --config vim
    sudo update-alternatives --config editor
  • Add me to the docker group: usermod -aG docker ${USER}

Hardening

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published