Modules + configs update
This commit is contained in:
parent
f94115c7bc
commit
c7b9f3c16c
11 changed files with 525 additions and 272 deletions
24
modules/git.nix
Normal file
24
modules/git.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
kakouneCommand = "${pkgs.kakoune}/bin/kak";
|
||||
meldCommand = "${pkgs.meld}/bin/meld";
|
||||
in {
|
||||
enable = true;
|
||||
userName = "Filippo Berto";
|
||||
userEmail = "berto.f@protonmail.com";
|
||||
signing = {
|
||||
key = "berto.f@protonmail.com";
|
||||
signByDefault = true;
|
||||
};
|
||||
extraConfig = {
|
||||
core.editor = kakouneCommand;
|
||||
credential.helper = "cache --timeout=3600";
|
||||
diff.guitool = meldCommand;
|
||||
merge.guitool = meldCommand;
|
||||
pull.rebase = true;
|
||||
rebase.autostash = true;
|
||||
init.defaultBranch = "master";
|
||||
};
|
||||
lfs.enable = true;
|
||||
delta.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue