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

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, the lush variant right now. Some fonts I use are Basier Square Mono and Berkeley Mono.

Programs and Tools

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 and Aerospace: idk how to do this, i just followed some guy's flake.
  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