home: git: fix deprecated config
This commit is contained in:
parent
09cd8ed7b8
commit
4725911125
1 changed files with 20 additions and 18 deletions
|
|
@ -21,13 +21,19 @@ in
|
||||||
config.programs.git = lib.mkIf cfg.enable {
|
config.programs.git = lib.mkIf cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# Who am I?
|
|
||||||
userEmail = mkMailAddress "bruno" "belanyi.fr";
|
|
||||||
userName = "Bruno BELANYI";
|
|
||||||
|
|
||||||
inherit (cfg) package;
|
inherit (cfg) package;
|
||||||
|
|
||||||
aliases = {
|
lfs.enable = true;
|
||||||
|
|
||||||
|
# There's more
|
||||||
|
settings = {
|
||||||
|
# Who am I?
|
||||||
|
user = {
|
||||||
|
email = mkMailAddress "bruno" "belanyi.fr";
|
||||||
|
name = "Bruno BELANYI";
|
||||||
|
};
|
||||||
|
|
||||||
|
alias = {
|
||||||
git = "!git";
|
git = "!git";
|
||||||
lol = "log --graph --decorate --pretty=oneline --abbrev-commit --topo-order";
|
lol = "log --graph --decorate --pretty=oneline --abbrev-commit --topo-order";
|
||||||
lola = "lol --all";
|
lola = "lol --all";
|
||||||
|
|
@ -40,10 +46,6 @@ in
|
||||||
root = "git rev-parse --show-toplevel";
|
root = "git rev-parse --show-toplevel";
|
||||||
};
|
};
|
||||||
|
|
||||||
lfs.enable = true;
|
|
||||||
|
|
||||||
# There's more
|
|
||||||
extraConfig = {
|
|
||||||
# Makes it a bit more readable
|
# Makes it a bit more readable
|
||||||
blame = {
|
blame = {
|
||||||
coloring = "repeatedLines";
|
coloring = "repeatedLines";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue