Skip to content
/ dotfiles Public

🏵️ Bash scripts to set up local environment as a developer

License

Notifications You must be signed in to change notification settings

musq/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ashish's Dotfiles

This repo is carefully designed to be declarative, reproducible, and idempotent!

Tools used:

  • GNU Stow
  • Homebrew
  • Posix Shell

Setup

  • Install Homebrew

    • Run installation script from https://brew.sh
    • Follow the output in terminal carefully when running the above installation script
  • Install git using your OS' software manager, if not already present

  • Install Nerd Fonts

    • Download IosevkaTerm.tar.xz from https://github.com/ryanoasis/nerd-fonts/releases/latest
    • Unpack IosevkaTerm.tar.xz
    • Install these fonts:
      • IosevkaTermNerdFontMono-Light.ttf
      • IosevkaTermNerdFontMono-LightItalic.ttf
      • IosevkaTermNerdFontMono-Bold.ttf
      • IosevkaTermNerdFontMono-BoldItalic.ttf

Install

# Clone dotfiles repo
git clone https://github.com/musq/dotfiles.git ~/dotfiles

# Go inside dotfiles directory
cd ~/dotfiles

# Switch to origin/macos branch if your device is running MacOS
# git checkout macos

# Run dotfiles setup script
./entrypoint.sh

# NOTE: In case of issues, resolve errors manually, then rerun ./entrypoint.sh
# NOTE: It is absolutely safe to run ./entrypoint.sh multiple times!

Post Install

Common

  • Set user.email in git ~/.config/git/config.local
  • Add keys in GnuPG
    • Fetch Ashish's public keys: curl -L tug.ro/key | gpg --import
    • Save Ashish's private keys into ~/.gnupg/private-keys-v1.d/, from you know where :)
  • Setup Pass: git clone git@git.sr.ht:~musq/... ~/.password-store

Linux Mint

Install these tools using Linux Mint Software manager:

  • Font-manager
  • GnuPG (WARNING: We don't install GnuPG using Homebrew because it clashes with OS's GnuPG installed version)
  • Alacritty
  • Brave
  • Sublime Text

NOTE: Follow this guide to setup Linux Mint with Btrfs: https://github.com/orgs/linuxmint/discussions/549

MacOS

  • Change Login Shell from Zsh to Bash
    • Open Users & Groups
    • Right click on your account and click Advanced Options
    • Change Login Shell to /opt/homebrew/bin/bash

License

AGPL-3.0-or-later