Refactor configuration to be more modular.

TODO: Update the documentation in the README to reflect changes
This commit is contained in:
caem 2024-08-26 15:01:33 +02:00
parent 7a30ff9f94
commit af0078d7af
Signed by: caem
GPG key ID: 69A830D03203405F
32 changed files with 889 additions and 1125 deletions

21
modules/packages/git.nix Normal file
View 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";
};
};
};
}