[Nix-dev] Slim failed to execute login command

Eelco Dolstra eelco.dolstra at logicblox.com
Tue Apr 29 19:07:02 CEST 2014


Hi,

On 29/04/14 17:51, _1126 wrote:

> I suspect that the following changes to my configuration are
> responsible for that:
> 
> + programs.bash.enable = false;
> + programs.zsh.enable = true;
> - users.extraUsers._1126.shell = pkgs.zsh + "/bin/zsh";
> + users.extraUsers._1126.useDefaultShell = true;
> 
> Could this be possible?

Right, with bash disabled, /etc/profile doesn't get generated.

I've just committed a change that removes the program.bash.enable option, since
having it really doesn't make sense - NixOS really depends on bash. If you want
zsh as the default shell, you should now say:

  users.defaultUserShell = "/run/current-system/sw/bin/zsh";

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list