Moved git and shell config into separate modules

This commit is contained in:
Emmet 2023-05-13 15:19:11 -05:00
parent 1eee403e6c
commit 227070ac48
4 changed files with 60 additions and 60 deletions

10
user/app/git/git.nix Normal file
View file

@ -0,0 +1,10 @@
{ config, lib, pkgs, myName, myEmail, ... }:
{
programs.git.enable = true;
programs.git.userName = myName;
programs.git.userEmail = myEmail;
programs.git.extraConfig = {
init.defaultBranch = "main";
};
}