update git config

This commit is contained in:
Evan Reichard 2024-01-02 10:51:04 -05:00
parent 2a60f3317b
commit 98eb00007c
4 changed files with 31 additions and 1 deletions

5
git/config/personal Normal file
View File

@ -0,0 +1,5 @@
[core]
sshCommand = "ssh -i ~/Keys/personal"
[user]
email = evan@reichard.io

5
git/config/work Normal file
View File

@ -0,0 +1,5 @@
[core]
sshCommand = "ssh -i ~/Keys/work"
[user]
email = evan@prophet.security

View File

@ -4,7 +4,26 @@
programs.git = {
enable = true;
userName = "Evan Reichard";
userEmail = "evan@reichard.io";
includes = [
{
path = "~/.config/git/work";
condition = "gitdir:~/Development/git/work/";
}
{
path = "~/.config/git/personal";
condition = "gitdir:~/Development/git/personal/";
}
];
};
xdg.configFile = {
# Copy Configuration
git = {
source = ./config;
recursive = true;
};
};
}

View File

@ -98,6 +98,7 @@ null_ls.setup({
null_ls.builtins.completion.spell,
null_ls.builtins.formatting.nixpkgs_fmt,
null_ls.builtins.formatting.lua_format,
null_ls.builtins.formatting.prettier.with({filetypes = {"svelte"}}),
null_ls.builtins.formatting.prettier, null_ls.builtins.formatting.gofmt,
null_ls.builtins.diagnostics.sqlfluff,
null_ls.builtins.formatting.sqlfluff