mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-18 23:44:16 +01:00
15 lines
398 B
Nix
15 lines
398 B
Nix
_: {
|
|
programs.ssh = {
|
|
enable = true;
|
|
extraConfig = ''
|
|
Host github.com
|
|
Hostname github.com
|
|
# github is controlled by harmonica~
|
|
IdentityFile ~/.ssh/harmonica
|
|
# Specifies that ssh should only use the identity file explicitly configured above
|
|
# required to prevent sending default identity files first.
|
|
IdentitiesOnly yes
|
|
'';
|
|
};
|
|
}
|