Refactor configuration to be more modular.
TODO: Update the documentation in the README to reflect changes
This commit is contained in:
parent
7a30ff9f94
commit
af0078d7af
32 changed files with 889 additions and 1125 deletions
21
modules/packages/git.nix
Normal file
21
modules/packages/git.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
home-manager.users.hu = {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
userName = "caem";
|
||||
userEmail = "me@caem.dev";
|
||||
signing = {
|
||||
key = "E50FC66B5062070DC462661C69A830D03203405F";
|
||||
signByDefault = true;
|
||||
};
|
||||
|
||||
extraConfig = {
|
||||
init.defaultBranch = "master";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue