nix/git/default.nix

30 lines
472 B
Nix
Raw Normal View History

2022-11-25 16:30:22 +00:00
{ config, pkgs, ... }:
{
programs.git = {
enable = true;
userName = "Evan Reichard";
2024-01-02 15:51:04 +00:00
includes = [
{
path = "~/.config/git/work";
condition = "gitdir:~/Development/git/work/";
}
{
path = "~/.config/git/personal";
condition = "gitdir:~/Development/git/personal/";
}
];
};
xdg.configFile = {
# Copy Configuration
git = {
source = ./config;
recursive = true;
};
2022-11-25 16:30:22 +00:00
};
}