Restructure to use flakes

This commit is contained in:
2022-02-15 15:44:40 +01:00
parent f74a79d12f
commit 8abcbd0cc7
33 changed files with 1441 additions and 0 deletions

25
home/git.nix Normal file
View 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";
};
};
};
}