mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-15 19:38:41 +00:00
Add SSH config
This commit is contained in:
2
home.nix
2
home.nix
@@ -122,6 +122,8 @@ let g:syntastic_check_on_wq = 0''; }
|
||||
|
||||
programs.neovim.extraConfig = builtins.readFile ./init.vim;
|
||||
|
||||
home.file.".ssh/config".source = ./ssh.config;
|
||||
|
||||
home.file.".config/youtube-dl/config".source = ./youtube-dl.conf;
|
||||
|
||||
#home.file.".emacs.d" = {
|
||||
|
14
ssh.config
Normal file
14
ssh.config
Normal file
@@ -0,0 +1,14 @@
|
||||
IgnoreUnknown AddKeysToAgent,UseKeychain
|
||||
|
||||
Host github.com
|
||||
AddKeysToAgent yes
|
||||
IgnoreUnknown UseKeychain
|
||||
UseKeychain yes
|
||||
IdentityFile ~/.ssh/github_rsa
|
||||
HostName github.com
|
||||
|
||||
Host *
|
||||
AddKeysToAgent yes
|
||||
IgnoreUnknown UseKeychain
|
||||
UseKeychain yes
|
||||
IdentityFile ~/.ssh/id_rsa
|
Reference in New Issue
Block a user