home: Add git
This commit is contained in:
parent
546060a7b8
commit
5b571bd0c0
|
@ -32,6 +32,7 @@ in
|
|||
imports = [
|
||||
./modules/alacritty.nix
|
||||
./modules/ankisyncd.nix
|
||||
./modules/git.nix
|
||||
./modules/gtk.nix
|
||||
./modules/htop.nix
|
||||
./modules/mpd.nix
|
||||
|
|
38
users/simon/modules/git.nix
Normal file
38
users/simon/modules/git.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Simon Bruder";
|
||||
userEmail = "simon@sbruder.de";
|
||||
signing = {
|
||||
key = "51276B7B829AF24674F2AA716F03E0000CC5B62F";
|
||||
signByDefault = true;
|
||||
};
|
||||
|
||||
extraConfig = {
|
||||
core.quotepath = "off";
|
||||
pull.ff = "only";
|
||||
};
|
||||
|
||||
ignores = [
|
||||
"*.swp"
|
||||
".direnv"
|
||||
"Session.vim"
|
||||
];
|
||||
|
||||
lfs.enable = true;
|
||||
delta = {
|
||||
enable = true;
|
||||
options = {
|
||||
line-numbers = "true";
|
||||
side-by-side = "true";
|
||||
features = "decorations";
|
||||
syntax-theme = "base16";
|
||||
decorations = {
|
||||
commit-decoration-style = "bold yellow box ul";
|
||||
file-style = "bold yellow ul";
|
||||
file-decoration-style = "none";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue