Currently if one wants to use an unstable version of nix they have to manually nix-shell into it after each start. Just adding it to environment.packages doesn't seem to properly persist.
With environment.packages = [ pkgs.nixUnstable ]nix --version still reports 2.3.x. even after restarting the terminal.
I have to explicitly do nix-shell -p nixUnstable first.
Currently if one wants to use an unstable version of nix they have to manually
nix-shell
into it after each start. Just adding it toenvironment.packages
doesn't seem to properly persist.With
environment.packages = [ pkgs.nixUnstable ]
nix --version
still reports 2.3.x. even after restarting the terminal.I have to explicitly do
nix-shell -p nixUnstable
first.nixOS Module system has
nix.package
for this.