Merge branch 'master' of ssh://git.giugl.io/peperunas/nixos

This commit is contained in:
Giulio De Pasquale 2024-11-17 14:17:56 +00:00
commit 251d38d411

View File

@ -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
''; '';
}; };
} }