[Nix-dev] Clear all
Bjørn Forsman
bjorn.forsman at gmail.com
Sat Sep 21 20:49:53 CEST 2013
On 21 September 2013 19:18, Stewart Mackenzie <setori88 at gmail.com> wrote:
> Hi all,
>
> I've only recently found out about nix-shell or what was nix-env --run-env.
> Though i've completely polluted my user space by installing everything with
> nix-env -i <pkgs> . I'd like to clear it up and start from scratch properly.
>
> How do i do that? Delete the profiles directory?
Maybe there are shortcuts, but I use
nix-env -qsP \*
to get a list of installed stuff in my profile and then copy paste
that into a line like this:
nix-env -e package1 package2 ...
> Secondly, what typically should be installed with nix-env? I would imagine
> its the programs one would want access to in the standard terminal
> environment. Things like firefox etc. Correct?
I think in general you can choose yourself what to install with
nix-env and what to put in environment.systemPackages. I usually start
by installing a package with nix-env, and if I find it useful to keep
for later, I move it over to systemPackages.
About the "in general", I've heard about issues with some KDE programs
when they are installed with nix-env and not in systemPackages.
Best regards,
Bjørn Forsman
More information about the nix-dev
mailing list