白月初

Home
About
Projects
Blog

Loading.

Loading.

On this page

  • Create nix folder
  • Install nix
  • Chek nix version
  • Turn on flakes
  • Check flakes
baiyuechu.dev

Setup nix
workflownix

A note about setup nix

2026-01-17By Baiyuechu
...
Your browser does not support the audio element.

Create nix folder

bash
1su
2mkdir -m 0755 /nix
3chown <USERNAME> /nix
4exit

Install nix

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

Chek nix version

bash
1nix --version

Turn on flakes

bash
1mkdir -p ~/.config/nix
2echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf

Check flakes

bash
1nix flake show nixpkgs

Join Baiyuechu Newsletter!

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

Baiyuechu

I am a software engineer with a passion for building web applications and mobile apps. I am a quick learner and I am always looking to improve my skills.

© 2026 Baiyuechu

General

  • Home
  • About
  • Projects
  • Blog
  • Toolbox
  • Stats

Specifics

  • Connections
  • Gallery
  • Community

Extra

  • Links
  • Changelog

baiyuechu