marchelbling / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

This repository aims at providing a simple way to (re)set a local environment.

Note: 607747a is the last revision relying on homemade scripts. Some of the existing configuration (e.g. screen, curl) have not been moved to the current setup.

Configuration files

The configuration files are managed via chezmoi.

References:

OSX

MacOS tools are managed via Homebrew. We rely on the bundle feature (see Brewfile).

Notes:

  • that this means applications should ideally be installed using App store (mas CLI) or brew cask to ensure reproducibility.
  • apps installed via App Store will be "frozen"
  • brew bundle dump --force will override an existing Brewfile which means that we cannot really add comments in the file: we therefore want to provide documentation when adding tools using dedicated commits.

Secrets

Passwords, secrets, SSH keys are managed with 1password. For example, git signing is done using SSH key signing.

Cheatsheet

  1. chezmoi init marchelbling (marchelbling will be expanded to github.com/marchelbling/dotfiles.git)
  2. chezmoi cd: changes current directory to this repository
  3. chezmoi apply: copies chezmoi current definitions to their home destinations

New machine setup

  1. install brew
  2. install brew formulas, casks and apps: brew bundle
  3. deploy configuration: chezmoi cd && chezmoi apply

About


Languages

Language:Lua 80.6%Language:Shell 13.0%Language:Ruby 4.2%Language:JavaScript 2.2%