update git config
This commit is contained in:
parent
2a60f3317b
commit
98eb00007c
5
git/config/personal
Normal file
5
git/config/personal
Normal file
@ -0,0 +1,5 @@
|
||||
[core]
|
||||
sshCommand = "ssh -i ~/Keys/personal"
|
||||
|
||||
[user]
|
||||
email = evan@reichard.io
|
5
git/config/work
Normal file
5
git/config/work
Normal file
@ -0,0 +1,5 @@
|
||||
[core]
|
||||
sshCommand = "ssh -i ~/Keys/work"
|
||||
|
||||
[user]
|
||||
email = evan@prophet.security
|
@ -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;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user