helm/modules/shell/git.nix

17 lines
383 B
Nix
Raw Normal View History

2019-08-06 10:56:54 -07:00
{ config, lib, pkgs, ... }:
{
2020-01-12 15:17:17 -08:00
my = {
packages = with pkgs; [
gitAndTools.hub
gitAndTools.diff-so-fancy
];
2020-01-17 01:22:50 -08:00
zsh.rc = lib.readFile <config/git/aliases.zsh>;
2020-01-12 15:17:17 -08:00
# Do recursively, in case git stores files in this folder
home.xdg.configFile = {
2020-01-17 01:22:50 -08:00
"git/config".source = <config/git/config>;
"git/ignore".source = <config/git/ignore>;
2020-01-12 15:17:17 -08:00
};
2019-08-06 10:56:54 -07:00
};
}