Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Tnixc/nix-config

Configs for nix-darwin
https://github.com/Tnixc/nix-config

darwin dotfiles macos nix nix-darwin nix-flake

Last synced: 3 months ago
JSON representation

Configs for nix-darwin

Awesome Lists containing this project

README

        





A simple nix-config for macOS


image

This is a [nix-darwin](https://github.com/LnL7/nix-darwin) config for a 13-inch M3 MacBook Air. It's based on [nix-darwin-kickstarter](https://github.com/ryan4yin/nix-darwin-kickstarter). It mainly uses [home-manager](https://github.com/nix-community/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](https://github.com/tnixc/edo). Some fonts I use are `Basier Square Mono` and `Berkeley Mono`.

## Programs and Tools

- **Window Manager**: [yabai](https://github.com/koekeishiya/yabai)
- **Status Bar**: [sketchybar](https://github.com/FelixKratz/SketchyBar)
- **Terminal**: [kitty](https://github.com/kovidgoyal/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..system
```