Skip to content

kincaidoneil/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kincaid's Dotfiles

Install

On macOS or Linux

Run the install script to set up packages and dotfiles:

curl -s https://raw.githubusercontent.com/kincaidoneil/dotfiles/main/install.sh | bash -s

This will:

  • Install Homebrew (if not present)
  • Install all development tools and runtimes
  • Symlink dotfiles (.zshrc, .gitconfig)
  • Configure Zsh with plugins

On a Fresh Linux Server (as root)

To create a new user account with sudo access:

curl -s https://raw.githubusercontent.com/kincaidoneil/dotfiles/main/add-user.sh | bash -s

Then switch to the new user and run the install script above.

Authentication

Use 1Password to manage SSH keys and configure SSH commit signing.

Alternative: Manual GPG/SSH Setup (Legacy)

Configure GPG Commit Signing

Import GPG secret key:

gpg --import [PATH]

If the key is expired, extend it:

gpg --edit-key [KEY_ID]
> key 1 # Select subkey, too!
> expire # Follow prompts to extend expiration
> save

You'll need to use an older revision of .gitconfig-[PLATFORM] and manually install GPG tools (brew install gpg2 pinentry-mac).

Generate New SSH Key

ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519

Add SSH Pubkey to Remote Server

Add ~/.ssh/id_ed25519.pub contents to ~/.ssh/authorized_keys on the remote server. See this guide for more details.

Add SSH Config

Simplify SSH connections by adding entries to ~/.ssh/config:

Host <NAME>
  HostName <IP_ADDRESS>
  ForwardAgent yes
  UseKeychain yes

About

Kincaid's Config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages