[Nix-dev] /etc/skel, useradd - resolve symlinks before copying?

Michael Raskin 7c6f434c at mail.ru
Sat Feb 12 17:02:42 CET 2011


>Now NixOS is based on symlinks. Thus /etc/skel/.bashrc -> /nix/store/...
>
>Thus ~/.bashrc -> /nix/store/...
>
>So the user can't edit the file which is bad.

I agree - I think we should simply build /etc/skel by copying, 
just like we copy some other things in activation scripts






More information about the nix-dev mailing list