Skip to content

collinmurch/dotfiles

Repository files navigation

macOS dotfiles

This repo is a little quirky at the moment; I'm half way between a Nix-style setup and a stow-based one. Eventually this will be fully Nix-based but for now we do some non-reproducible stuff with bootstrap.

Prerequisites

  1. git
  2. nix
  3. Nix experimental features enabled:
echo 'experimental-features = nix-command flakes' >> ~/.config/nix/nix.conf

Installation Instructions

nix profile add github:collinmurch/dotfiles#pkg-set

# expect stow conflicts on first run
nix run github:collinmurch/dotfiles#bootstrap 

Fonts

This setup includes encrypted TX-02 (Berkely Mono) fonts that are optionally decrypted during bootstrap.sh using my Bitwarden SSH key. JetBrains Mono is installed and is a fallback font for all configs if TX-02 isn't found.

Additional Optional Config

Custom Environments

If either of these files are present, they will be sourced for the respective shell (not tracked by git):

  • Zsh: ~/.zprofile
  • Nushell: $nu.default-config-dir/local.nu (overlay)

MacOS System Settings

A list of defaults & functionality explanations I prefer can be set with /bin/zsh config_macos.sh, which I wouldn't recommend just running. I'll probably migrate this to nix-darwin at some point.

Raycast

  1. Export settings under Advanced from previous machine
  2. Import them under the same tab on a new machine
  3. Check to make sure scripts are loaded from ~/Developer/scripts
  • Since we stow with --no-folding you should be able to add scripts as you please without messing with the git state

NeoVim

  • ~/.config/nvim/lua/local.lua will be sourced if it is present (not tracked by git)
  • Since we stow with --no-folding you should be able to add plugins/config as you please without messing with the git state

About

A collection of my .files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published