From 4e7ddff3eb0bdf101f8740bc742bae67d50885a8 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Wed, 15 Apr 2026 03:48:22 +0800 Subject: [PATCH] =?UTF-8?q?docs(readme):=20=E4=BF=AE=E6=AD=A3=20WSL=20?= =?UTF-8?q?=E9=A6=96=E6=AC=A1=E6=9E=84=E5=BB=BA=E6=AD=A5=E9=AA=A4=EF=BC=8C?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=20nix=20shell=20=E6=9B=BF=E4=BB=A3=E8=BF=87?= =?UTF-8?q?=E6=97=B6=E7=9A=84=20nix-shell?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 327e8e6..21749cc 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,8 @@ wsl -d NixOS 3. 首次构建: ```bash -nix-shell -p git --run "git clone ~/nix-config" +nix shell nixpkgs#git +git clone ~/nix-config cd ~/nix-config sudo nixos-rebuild switch --flake .#wsl ```