[Nix-dev] some basic questions from a new NixOS user

Linus Arver linusarver at gmail.com
Thu Nov 24 21:10:38 CET 2011


On Thu, Nov 24, 2011 at 08:21:25AM +0100, Marc Weber wrote:
> You're welcome.
> 
> > 1a. I've added a new user account with "useradd," per the manual, and
> 
> 3 ways: 
> 1) /var/run/current-system/sw/bin/ like installation by configuration.nix
> 2) system wide root installation ? (not sure about it)
> 3) user installation.
> 
> All can be rolled back. nix-env --list-generations etc (see man or do
> --help).

Ah, I did not know about "nix-env --list-generations". This is great!
I'll add a wiki entry about this.

> 
> >     environment.systemPackages = [
> >         pkgs.zsh
> >         pkgs.git
> >         pkgs.rxvt-unicode
> >     ];
> Looks fine to me.
>  

Thanks.

-Linus


More information about the nix-dev mailing list