Moved git and shell config into separate modules
This commit is contained in:
10
user/app/git/git.nix
Normal file
10
user/app/git/git.nix
Normal 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";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user