Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/Tnixc/nix-config
- Owner: Tnixc
- Created: 2024-06-25T00:20:02.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-23T03:04:57.000Z (3 months ago)
- Last Synced: 2024-10-24T15:16:37.448Z (3 months ago)
- Topics: darwin, dotfiles, macos, nix, nix-darwin, nix-flake
- Language: Lua
- Homepage:
- Size: 11.9 MB
- Stars: 19
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A simple nix-config for macOS
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, ZedNot 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
```