This repository is intended to be a sane, batteries-included starter template for running a LunarVim-powered NixOS development environment on both WSL and on Hetzner Cloud.
This repository is the result of a live refactoring session where I demonstrated how to merge two NixOS configurations for separate machines and machine types into a single flake.
If you found this starter template useful, please consider sponsoring and subscribing to my YouTube channel.
This starter is a lightly-opinionated take on a productive terminal-driven development environment based on my own preferences. However, it is trivial to customize to your liking both by removing and adding tools that you prefer.
- The default editor is initially
lvim
win32yank
is used to ensure perfect bi-directional copying and pasting to and from Windows GUI applications and LunarVim running in WSL- The default shell is
zsh
- Native
docker
(ie. Linux, not Windows) is enabled by default - The prompt is Starship
fzf
,lsd
,zoxide
, andbroot
are integrated intozsh
by default- These can all be disabled easily by setting
enable = false
in home.nix, or just removing the lines all together
- These can all be disabled easily by setting
direnv
is integrated intozsh
by defaultgit
config is generated in home.nix with options provided to enable private HTTPS clones with secret tokenszsh
config is generated in home.nix and includes git aliases, useful WSL aliases, and sensible$WORDCHARS
You should follow the quickstart steps from either nixos-wsl-starter or nixos-hetzner-cloud-starter depending on if you are targeting the WSL VM configuration or the Hetzner Cloud VM configuration.