Skip to content

fslef/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

782 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Cross-platform dotfiles managed with chezmoi. The repo focuses on a consistent shell + Git setup, repeatable package installs, and secret-backed templates via Bitwarden.

Note

This repo is designed to be applied with chezmoi. Most files under home/ are templates (*.tmpl) and will be rendered into your $HOME.

Getting started

Bootstrap (macOS/Linux/Windows)

sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply FSLEF

During init, chezmoi prompts for machine flags (personal/work/dev/docker) and a Git email (see home/.chezmoi.toml.tmpl).

Common commands

# Preview changes
chezmoi diff

# Apply changes
chezmoi apply

# Pull latest + re-apply
chezmoi update

Tip

Prefer chezmoi diff before chezmoi apply when you changed templates or secret values.

What's included

Shells

Git

Prompt

Aliases

Aliases are defined in TOML and rendered into a shell script:

Packages (macOS)

Package lists are centralized in:

This includes Homebrew formulae/casks and Mac App Store apps (via mas), with lists split by machine type (common/personal/work/dev/docker).

macOS defaults

App configs (macOS)

Secrets (Bitwarden)

Templates can pull secrets from Bitwarden via chezmoi's Bitwarden integration.

Login

bw login <your-email>

# If prompted when applying templates, unlock your vault:
bw unlock

External repos

This repo can also fetch additional repositories via chezmoi externals, with the list coming from Bitwarden notes:

Notes

  • Templates under home/ use standard chezmoi naming conventions (dot_, private_, executable_, symlink_).
  • See the helper agent doc for deeper template patterns: .github/agents/ChezMoi.agent.md

Inspired by: twpayne / natelandau / renemarc

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •