mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 20:20:43 +02:00
xd
This commit is contained in:
31
modules/ssh.nix
Normal file
31
modules/ssh.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ args, ... }:
|
||||
|
||||
{
|
||||
services.ssh-agent.enable = true;
|
||||
services.ssh-agent.enableFishIntegration = true;
|
||||
|
||||
programs.ssh = {
|
||||
enableDefaultConfig = false;
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
"dmowski" = {
|
||||
hostname = "192.168.0.30";
|
||||
user = "szymon";
|
||||
port = 22;
|
||||
identityFile = "~/.ssh/dmowski";
|
||||
};
|
||||
|
||||
"aur.archlinux.org" = {
|
||||
user = "szymon";
|
||||
identityFile = "~/.ssh/aur";
|
||||
};
|
||||
|
||||
"*" = {
|
||||
addKeysToAgent = "yes";
|
||||
setEnv = {
|
||||
TERM = "xterm-256color";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user