moved git to its own module

This commit is contained in:
specCon18 2023-04-18 02:12:50 -04:00
parent b40c908ffe
commit 38d653d2ff
4 changed files with 91 additions and 77 deletions

View file

@ -91,6 +91,7 @@
./modules/home-manager/alacritty.nix
./modules/home-manager/vscode.nix
./modules/home-manager/zsh.nix
./modules/home-manager/git.nix
]; #extra modules to be loaded by home-manager
};
};

View file

@ -0,0 +1,13 @@
{ pkgs, config, lib, ...}:
{
programs.git = {
enable = true;
userName = "specCon18";
userEmail = "steven.carpenter@skdevstudios.com";
extraConfig = {
init = {
defaultBranch = "main";
};
};
};
}