My opinionated dotfiles that I use in MacOS and NixOS.
Clone this repo:
git clone https://github.com/zahidkizmaz/dotfiles.git "$HOME/dotfiles"
Installation guide: here
Managed by nix-darwin and flakes. Install nix-darwin and run:
darwin-rebuild switch --flake .name-of-config
Installation guide: here
Managed by flakes.
sudo nixos-rebuild switch --flake .name-of-config
OR
Using nh
nh os switch
I use symlinks to manage dotfiles. Stow is my go to tool for managing the symlinks.
This helper script is automatically put in PATH by nix. It creates symlinks automatically if the certain app is installed.
link-dotfiles
In case there is no nix:
bash nixos/bin/link-dotfiles.sh
Example for tmux:
stow -vSt ~ tmux
This creates symlinks to tmux config files in ~/.config/
folder.
This setup includes:
- Shell: zsh
- Shell prompt: starship
- Shell history: atuim
- Shell tools: bat, direnv, fzf
- Terminal emulator: kitty
- Terminal multiplexer: tmux
- Text editor / IDE: Neovim
- Window manager: Hyprland
- Status bar: waybar
- Notifications manager: dunst
- Application launcher: anyrun, tofi
and more...