Nix Home Manager-based dotfiles for a WSL development environment. Uses Nix flakes for declarative configuration and Mise for runtime version management.
-
Clone the repository:
git clone https://github.com/nikhilkrishna/wsl_setup.git ~/dotfiles cd ~/dotfiles
-
Edit
home-manager/user-config.nixwith your details:username- your WSL/Linux username (runwhoami)windowsUsername- your Windows username (runcmd.exe /c "echo %USERNAME%")git.nameandgit.email- your Git identityaws.profileandaws.region- for Claude Code with AWS Bedrock (optional)kafka.*- Kafka broker URLs if using the Kafka module (optional)
-
Run the installer:
./install.sh
-
Restart your shell:
exec $SHELL
# Quick reload (shell alias)
reload
# Or explicitly
home-manager switch --flake ~/dotfiles/home-manager#$USERcd ~/dotfiles/home-manager
nix flake update- Shell: Bash with Starship prompt, direnv, fzf integration
- Git: Configured with delta for better diffs
- Editor: Neovim with sensible defaults
- Tools: Modern CLI replacements (eza, ripgrep, fd, bat)
- 1Password: SSH agent relay from Windows (see
docs/ssh-setup.md) - AWS: SSO integration for Claude Code with Bedrock
- Docker: Native daemon with lazydocker TUI (see
docs/docker-setup.md) - Kafka: CLI tools with SSL/TLS support (see
docs/kafka-setup.md)
docs/docker-setup.md- Docker setup with WSL2 networkingdocs/kafka-setup.md- Kafka CLI setup guidedocs/java-setup.md- JVM setup guidedocs/ssh-setup.md- SSH setup guide
Created with the help of Claude Code. Free to use for inspiration - no warranties provided.