mirror of
https://github.com/ParkerTenBroeck/dotfiles.git
synced 2026-06-07 05:08:51 -04:00
git
This commit is contained in:
parent
079b1eb5d6
commit
d3f7b43daa
1 changed files with 36 additions and 6 deletions
|
|
@ -1,8 +1,38 @@
|
|||
{ pkgs, ...}: {
|
||||
home-manager.users.may.home.packages = with pkgs; [
|
||||
git
|
||||
gitui
|
||||
# yes I'm a baby I know
|
||||
gh
|
||||
];
|
||||
home-manager.users.may = {
|
||||
home.packages = with pkgs; [
|
||||
git
|
||||
gitui
|
||||
# yes I'm a baby I know
|
||||
gh
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
user = {
|
||||
name = "Parker TenBroeck";
|
||||
email = "51721964+ParkerTenBroeck@users.noreply.github.com";
|
||||
};
|
||||
|
||||
credential."https://github.com" = {
|
||||
helper = "!/etc/profiles/per-user/may/bin/gh auth git-credential";
|
||||
};
|
||||
|
||||
credential."https://gist.github.com" = {
|
||||
helper = "!/etc/profiles/per-user/may/bin/gh auth git-credential";
|
||||
};
|
||||
|
||||
filter.lfs = {
|
||||
clean = "git-lfs clean -- %f";
|
||||
smudge = "git-lfs smudge -- %f";
|
||||
process = "git-lfs filter-process";
|
||||
required = true;
|
||||
};
|
||||
|
||||
pull.ff = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue