Eelco Dolstra <[email protected]> writes: > 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";
I've been running with this for quite some time: programs.bash.enable = false; programs.zsh.enable = true; environment.etc.profile.text = ""; users.extraUsers.mathijs.useDefaultShell = true; _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
