Moved git and shell config into separate modules

This commit is contained in:
Emmet
2023-05-13 15:19:11 -05:00
parent 04e0845d49
commit 6205c10011
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";
};
}