Skip to content

Tnixc/nix-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


A simple nix-config for macOS
image

This is a nix-darwin config for a 13-inch M3 MacBook Air. It's based on nix-darwin-kickstarter. It mainly uses home-manager, and few programs are configured in nix. This is because it is often easier to find documentation for configuring software with their original schemas.

The color scheme is my theme edo. Some fonts I use are Basier Square Mono and Berkeley Mono.

Programs and Tools

  • Window Manager: yabai
  • Status Bar: sketchybar
  • Terminal: kitty
  • Shell: fish, zsh
  • Text Editors: Neovim, Zed

Not using nix-darwin?

If you're not using nix-darwin, you can still use parts of this configuration by manually copying the relevant files. Here's how:

  1. Sketchybar: Copy the contents of nix-config/home/programs/sketchybar/sketchybar to ~/.config/sketchybar/
  2. Yabai: Copy nix-config/home/programs/yabai/yabairc to ~/.config/yabai/yabairc
  3. Kitty: Copy nix-config/home/programs/kitty/kitty to ~/.config/kitty/
  4. Neovim: Copy nix-config/home/programs/nvim/nvim to ~/.config/nvim/
  5. Zed: Copy the contents of nix-config/home/programs/zed/zed to ~/.config/zed/

Remember to install the necessary dependencies for each program. You may need to run some build commands, and adjust some paths or settings to work without nix-darwin.

Use

nix build .#darwinConfigurations.<Hostname>.system