mirror of
https://github.com/wlcx/home.git
synced 2026-09-09 17:58:22 +01:00
Add ssh local config include
This commit is contained in:
+4
-1
@@ -67,7 +67,10 @@ in {
|
||||
|
||||
fzf.enable = true;
|
||||
|
||||
ssh.enable = true;
|
||||
ssh = {
|
||||
enable = true;
|
||||
includes = [ "~/.ssh/config.local" ];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
+5
-1
@@ -38,7 +38,11 @@
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
includes = [
|
||||
{ path = "~/.gitconfig.local"; }
|
||||
# Always include local gitconfig if it's there
|
||||
{
|
||||
path = "~/.gitconfig.local";
|
||||
}
|
||||
# Include work gitconfig if we're somewhere in ~/work
|
||||
{
|
||||
path = "~/.gitconfig.work";
|
||||
condition = "gitdir:~/work/";
|
||||
|
||||
Reference in New Issue
Block a user