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-configInstallation guide: here
Managed by flakes.
sudo nixos-rebuild switch --flake .name-of-configOR
Using nh
nh os switchI 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-dotfilesIn case there is no nix:
bash nixos/bin/link-dotfiles.shExample for tmux:
stow -vSt ~ tmuxThis creates symlinks to tmux config files in ~/.config/ folder.
This setup includes:
- Shell: zsh/nushell
- 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: tofi
and more...