Move git config to git.nix

This commit is contained in:
Leonora Tindall 2024-02-05 10:06:06 -06:00
parent 42c01a91f4
commit 2aa3bd96f2
2 changed files with 13 additions and 9 deletions

12
git.nix Normal file
View File

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
programs.git = {
enable = true;
userName = "Leonora Tindall";
userEmail = "nora@nora.codes";
delta.enable = true;
extraConfig = {
init.defaultBranch = "main";
};
};
}

View File

@ -4,16 +4,8 @@ in
{ {
imports = [ imports = [
./vim.nix ./vim.nix
./git.nix
]; ];
programs.git = {
enable = true;
userName = "Leonora Tindall";
userEmail = "nora@nora.codes";
delta.enable = true;
extraConfig = {
init.defaultBranch = "main";
};
};
programs.zsh = { programs.zsh = {
enable = true; enable = true;