Update roles/home/zsh.nix
This commit is contained in:
parent
e084734e4a
commit
2db9c318a1
@ -1,5 +1,8 @@
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
commitFunctions = pkgs.writeTextDir "bin" (builtins.readFile ./scripts/commits.sh);
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [ any-nix-shell ];
|
||||
|
||||
@ -22,6 +25,8 @@
|
||||
any-nix-shell zsh --info-right | source /dev/stdin
|
||||
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
||||
${if pkgs.stdenv.isDarwin then "export PATH=$PATH:/opt/homebrew/bin" else ""}
|
||||
|
||||
source ${commitFunctions}/bin/commits.sh
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user