0 min
0

Thiết lập nix

Ghi chú về thiết lập nix

  • #workflow
  • #nix

Tạo thư mục nix

terminal
sumkdir -m 0755 /nixchown <USERNAME> /nixexit

Cài nix

terminal
sh <(curl -L https://nixos.org/nix/install) --no-daemon

Kiểm tra phiên bản nix

terminal
nix --version

Bật flakes

terminal
mkdir -p ~/.config/nixecho "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf

Kiểm tra flakes

terminal
nix flake show nixpkgs

Tài liệu tham khảo

>Newsletter

Stay Updated

Get notified when I publish new articles, tutorials, and project updates. Subscribe for insights and actionable content.