diff --git a/configuration.nix b/configuration.nix index 1d4cd03..800d19b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -89,6 +89,11 @@ # Add ~/.local/bin/ to $PATH environment.localBinInPath = true; + environment.homeBinInPath = true; + # Only this works, from https://github.com/NixOS/nixpkgs/issues/157383#issuecomment-1186081648 + environment.shellInit = '' + export PATH="$PATH:$HOME/.local/bin" + ''; # Needed for Slack but probably helps other stuff too. # See https://wiki.nixos.org/wiki/Slack