MaxFangX/.dotfiles

dotfiles and configs

★ 1Forks 1ShellGitHub ↗Compare

README

Dotfiles

Installation

Nix + Home Manager

  1. Install Determinate Nix:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
  sh -s -- install
  1. Clone dotfiles:
git clone [email protected]:MaxFangX/.dotfiles.git ~/.dotfiles
  1. Apply home-manager config (uses hostname -s to select config):
~/.dotfiles/bin/hms

After first run, hms is in PATH. To upgrade Nix later: just nix-upgrade

  1. Configure Determinate Nix (disables auto-GC, which otherwise deletes open nix develop shell envs every 2 hours; GC manually with just clean):
cd ~/.dotfiles && just nix-setup
  1. Set zsh as the default shell (installed by hms):
chsh -s $(which zsh)

Log out and back in for the change to take effect.

Font

lazy.nvim recommends installing a Nerdfont: https://www.nerdfonts.com/

I like "Menlo", so use "Meslo", a customized version of it: https://www.nerdfonts.com/font-downloads

Install by opening in Finder and double clicking on the font:

  • MesloLGMNerdFontMono-Bold.ttf
  • MesloLGMNerdFontMono-BoldItalic.ttf
  • MesloLGMNerdFontMono-Italic.ttf
  • MesloLGMNerdFontMono-Regular.ttf

Notes:

  • "LG*" is font weight (LGL=Light, LGM=Medium, LGS=Semi-bold). Using LGM now.
  • Don't need "Propo" (proportional) or "DZ" (alternate glyphs)

Configure iTerm2 to use the font: Settings > Profiles > Text > Font

This command can confirm whether the font was installed properly.

:echo join(map(range(0xE000, 0xF8FF), {_, v -> nr2char(v)}), '')

Contributors

MaxFangXlexe-agent

Issues