Updated How to Develop (markdown)

Samuel Dai 2025-04-05 23:26:43 +08:00
parent 4958005aab
commit ba7f46c5aa

@ -2,20 +2,27 @@ Thanks to the `nix`, we can easily develop the project in a reproducible environ
# nix environment
### Installing nix
- **nix installation**
https://nixos.org/download/#nix-install-linux
https://nixos.org/download/#nix-install-linux
### Use home-manager to manage nix features (flakes) and direnv (Optional)
https://nix-community.github.io/home-manager/index.xhtml#sec-install-standalone
- **home-manager**
Manage nix features (flakes) and direnv (Optional)
### Use direnv for development environment activation
https://github.com/nix-community/nix-direnv#via-home-manager
https://nix-community.github.io/home-manager/index.xhtml#sec-install-standalone
### Install VSCode extension for automatically environment activation
We have recommand extensions:
- **pinage404.nix-extension-pack**: provide direnv and essentials for activating nix dev env
- **rust-lang.rust-analyzer**: Rust language support
- **direnv**
For development environment activation
https://github.com/nix-community/nix-direnv#via-home-manager
- **VSCode extensions**
Automatically environment activation. We have recommand extensions:
- **pinage404.nix-extension-pack**: provide direnv and essentials for activating nix dev env
- **rust-lang.rust-analyzer**: Rust language support
# shell interactions