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.
This commit is contained in:
Andreas Rammhold 2019-11-02 14:34:50 +01:00
parent e5b32b9719
commit a06529b7ad
No known key found for this signature in database
GPG key ID: E432E410B5E48C86
2 changed files with 8 additions and 1 deletions

View file

@ -186,6 +186,13 @@
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>

View file

@ -122,7 +122,7 @@ in
description = ''
Include ~/bin/ in $PATH.
'';
default = true;
default = false;
type = types.bool;
};