home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7509b1e945c4ac31d9fd2cdea6c4bdad53325009
parent 49fecb6358757a13368b312377ec2575da5b41c7
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu, 27 Jun 2019 17:38:39 +0200

profiles.zsh: add necessary source to work on nixpkgs…

… on fedora 👼

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmodules/profiles/zsh.nix | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/modules/profiles/zsh.nix b/modules/profiles/zsh.nix @@ -18,6 +18,13 @@ in programs.zsh = { enable = true; shellAliases = import ./aliases.shell.nix; + initExtra = '' + if [ -e /home/vincent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/vincent/.nix-profile/etc/profile.d/nix.sh; fi + ''; + profileExtra = '' + if [ -e /home/vincent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/vincent/.nix-profile/etc/profile.d/nix.sh; fi + export NIX_PATH=$HOME/.nix-defexpr/channels:$NIX_PATH + ''; }; }; }