Added git options
This commit is contained in:
parent
e3f72d719c
commit
24a082f22c
1 changed files with 15 additions and 1 deletions
|
@ -8,6 +8,20 @@ in
|
|||
enable = mkEnableOption "Enable git config";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.git.enable = true;
|
||||
programs.git = {
|
||||
enable = true;
|
||||
extraConfig = {
|
||||
status = {
|
||||
short = true;
|
||||
branch = 1;
|
||||
};
|
||||
commit = {
|
||||
verbose = 1;
|
||||
};
|
||||
log = {
|
||||
date = "iso8601-local";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue