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 # 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) - **home-manager**
https://nix-community.github.io/home-manager/index.xhtml#sec-install-standalone
### Use direnv for development environment activation Manage nix features (flakes) and direnv (Optional)
https://github.com/nix-community/nix-direnv#via-home-manager
### Install VSCode extension for automatically environment activation https://nix-community.github.io/home-manager/index.xhtml#sec-install-standalone
We have recommand extensions:
- **pinage404.nix-extension-pack**: provide direnv and essentials for activating nix dev env - **direnv**
- **rust-lang.rust-analyzer**: Rust language support
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 # shell interactions