nixos: default `environment.homeBinInPath` to false

This is a more sane default since we do not magically (without opt-in)
pull in binaries from `~/bin`. That is not really an expected behavior
for many users. Users that still want that behavior can now just flip
that switch.

Changed files
+8 -1
nixos
doc
manual
release-notes
modules
+7
nixos/doc/manual/release-notes/rl-2003.xml
···
The osquery module has been removed.
</para>
</listitem>
+
<listitem>
+
<para>
+
Going forward, <literal>~/bin/<literal> in the users home directory will no longer be in <literal>PATH</literal> by default.
+
If you depend on this you should set the option <literal>environment.homeBinInPath</literal> to <literal>true</literal>.
+
The aforementioned option was added this release.
+
</para>
+
</listitem>
</itemizedlist>
</section>
+1 -1
nixos/modules/config/shells-environment.nix
···
description = ''
Include ~/bin/ in $PATH.
'';
-
default = true;
+
default = false;
type = types.bool;
};