Restructure to use flakes
This commit is contained in:
25
home/git.nix
Normal file
25
home/git.nix
Normal file
@ -0,0 +1,25 @@
|
||||
user:
|
||||
{ ... }: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = user.git.name;
|
||||
userEmail = user.git.email;
|
||||
delta = {
|
||||
enable = true;
|
||||
options = {
|
||||
theme = "base16";
|
||||
};
|
||||
};
|
||||
extraConfig = {
|
||||
diff = {
|
||||
compactionHeuristic = true;
|
||||
};
|
||||
pull = {
|
||||
rebase = true;
|
||||
};
|
||||
push = {
|
||||
default = "simple";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user