Merge branch 'master' of ssh://git.giugl.io/peperunas/nixos
This commit is contained in:
commit
251d38d411
@ -1,5 +1,8 @@
|
|||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
commitFunctions = pkgs.writeTextDir "bin" (builtins.readFile ./scripts/commits.sh);
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [ any-nix-shell ];
|
home.packages = with pkgs; [ any-nix-shell ];
|
||||||
|
|
||||||
@ -22,6 +25,8 @@
|
|||||||
any-nix-shell zsh --info-right | source /dev/stdin
|
any-nix-shell zsh --info-right | source /dev/stdin
|
||||||
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
||||||
${if pkgs.stdenv.isDarwin then "export PATH=$PATH:/opt/homebrew/bin" else ""}
|
${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