- Hardware: A MacBook Pro with an Intel CPU and a Windows PC that runs a WSL (Windows Subsystem for Linux) environment.
- This configuration is derived from the standard version of Misterio77/nix-starter-configs.
Configuration for each user.
Common configuration shared between Darwin and Linux.
I've encountered version lock issues with both LazyVim and NixVim. Neither solution locks every package to a specific commit, making upgrades unpredictable. While I enjoy living on the edge, I dislike when my LSP stops working just as I find the motivation to work on my side projects.
- A terminal workspace with batteries included.
- The default keybindings of zellij dramatically conflict with lazyvim, so I changed the prefix to change mode from "Ctrl" to "Alt".
The configuration is divided into two files: extra-first.zsh
and extra.zsh
:
extra-first.zsh
: Commands to be added at the beginning of.zshrc
.extra.zsh
: Additional commands to be appended to.zshrc
.
- Credentials are stored in the pass store, synchronized with syncthing.
- Once the current directory is changed to
$HOME/Develop
, credentials are automatically injected into the environment variables.
- Darwin-specific configurations.
- Currently, it only includes lock files for homebrew.
- GPG agent and syncthing are installed via homebrew for the GUI.
- Linux-specific configurations.
- GPG agent and syncthing are installed by home-manager.
- SSH: Inject public keys, disable root login, and disable password authentication.
- Set zsh as the default shell.
- Enable Avahi so the virtual machine is accessible via the *.local domain.
- Set Asia/Taipei as the timezone.
- Use NixOS-WSL.
- Set Asia/Taipei as the timezone.
- Install Git and GNU Make for the Makefile of this configuration.
- Set zsh as the default shell.
- Install Docker and allow the normal user to use it for virtualization.