Skip to content

migueldoblado/lm-dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

This repository contains all the dotfiles I use to customize my software development tools in OS X.

For the management of the files it uses chezmoi. The secrets and other sensitive information is stored using pass

Prerequisites

How to start?

  1. Install needed software

  2. Import my gpg keys

  3. Clone password store

    [email protected]:migueldoblado/$SECRETS.git ~/.password-store
  4. Create ~/.config/chezmoi/chezmoi.toml and fill it with the information

    [data.git]
    name = "<my name>"
    
    [data.git.work]
    email = "<work email>"
    signkey = "<my work gpg sign key>"
    # Used to clone my organization repositories
    company = "<company name>"
    # Used to clone my organization repositories
    repositories = "<work git repositories>" repositories
  5. Finally apply

    chezmoi init --apply [email protected]:migueldoblado/dotfiles.git

Included configuration

Zsh shell

Drop-in files for $PATH management:

Git

  • Set up globally my work information
  • Enables company git hooks software only in specific dir

Ssh

Basic ssh configuration with known hosts and rendering work sensitive hosts stored in the secret store.

macOS system

  • Installing automatically packages from a Brewfile
  • GNU coreutils and recent version of curl in $PATH
  • Setup qtpass to find out git and gpg utlities from brew
  • Enable uptimed and locate services
  • Enable fingerprint for sudo

iTerm2

vscode

  • Set up projects managed by alefragnani.project-manager extension

Third-party services setup

  • Docker registries
  • npm private registry

Password store structure

This is the structure required to use the dotfiles. You can obtain it executing pass

Password Store
├── aws
│   ├── accountId -> password
│   └── region    -> passwoerd
├── docker
│   └── dockerRegistry -> password(token)
├── npm
│   └── github -> password(token)
└── ssh
    ├── hosts_list -> raw(configuration included in the file in private_dot_ssh/config.tmpl)
    └── keys
        ├── github -> raw(ssh key)
        └── id_rsa -> raw(ssh key)

Acknowledgements

Big shoutout to @ribugent and @albertvila for their awesome dotfiles! I totally borrowed a ton of ideas and configurations from their repositories. If you check out their dotfiles, you'll see what I mean. They're incredible!

About

Miquel Doblado's LM dotfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published