Misterio77 / nix-starter-configs

Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!
Creative Commons Zero v1.0 Universal
2.7k stars 133 forks source link

README says nix --version should be 2.4 but the latest I see on nix packages is 2.42.2. Typo? #85

Open imcnanie opened 3 months ago

imcnanie commented 3 months ago

https://github.com/NixOS/nix/tags

Make sure you're running Nix 2.4+, and opt into the experimental flakes and nix-command features:

Should be 2.4+

nix --version export NIX_CONFIG="experimental-features = nix-command flakes"

Misterio77 commented 2 months ago

Hey, this was written when the most common version was still 2.3, haha. Time flies. Not a typo, but it's probably redundant info right now.

DaKingof commented 4 days ago

When I run this I get

nix --version                                                                                                                                                ✔  at 10:00:22 
export NIX_CONFIG="experimental-features = nix-command flakes"
nix (Nix) 2.24.10

Is there something wrong with my setup?