From ba7f46c5aaad8c23f58f1b9f29b10ddcdb8d59d8 Mon Sep 17 00:00:00 2001 From: Samuel Dai Date: Sat, 5 Apr 2025 23:26:43 +0800 Subject: [PATCH] Updated How to Develop (markdown) --- How-to-Develop.md | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/How-to-Develop.md b/How-to-Develop.md index 7a90426..a08cd8b 100644 --- a/How-to-Develop.md +++ b/How-to-Develop.md @@ -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