Skip to content

BenjaminPollak/dot_files

Repository files navigation

My Dotfiles

This repo is for tracking my dotfiles. It currently contains the following:

  • Ansible Scripts (for quickly installing and configuring software on a new computer)
  • Bash/Zsh Config Scripts
  • Git Configs
  • i3 configs
  • Tmux Config
  • Vim/Nvim Config

Config files are managed through GNU Stow.

Dockerfile and Makefile are included so I can test this setup easily.

Prerequisites

  • Machine has docker installed
  • Machine has make installed

For a Personal Machine

  • Primary user account is named benjamin

Postrequisites

  1. Install tmux plugins using Signal + Shift + I.
  2. Run the following mise commands to install the latest versions of my primary programming languages: a. mise install python@latest b. mise install node@latest c. mise install go@latest
  3. Run sudo npm install -g cspell

Testing with Docker

  1. build the docker container by running docker build .
  2. get the container ID by running docker images
  3. run the container using docker run -i -v ${PWD}:/home/ubuntu/dot_files -t <CONTAINER_ID> /bin/bash
  4. navigate to /home/ubuntu/dot_files in the container and execute ansible-playbook desktop_config.yml

Per-Machine Configuration

I have made this possible in the following ways:

  • for Z-Shell:
    • put config in ~/local.zsh
  • for Git:
    • if on a work machine, put config in ~/work/.gitconfig
    • if on a personal machine, set up name and email in ~/.identityconfig
  • for Neovim:
    • put local plugin config in nvim/.config/nvim/lua/plugins/local.lua

TODOs

  • replace pyright with basedpyright
  • explore scripting postrequisites
  • replace none-ls with conform.nvim + nvim-lint
  • make ansible scripts idempotent
  • setup debugging
  • Automate creation of ~/.identityconfig with git name + email
  • Pull dependencies from Snap instead of APT
  • Refactor custom nvim commands to use Lua instead of Vimscript
  • automate install of docker-compose
  • Rename ubuntu script
  • Set up ranger config
  • look into nvim plugins:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published