Add ssh to system-environment
This commit is contained in:
28
system-environment/ssh.nix
Normal file
28
system-environment/ssh.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
profile = import ../profile.nix;
|
||||
in
|
||||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
enableDefaultConfig = true;
|
||||
|
||||
extraConfig = ''
|
||||
Host git.nickr.eu
|
||||
HostName git.nickr.eu
|
||||
Port 22
|
||||
|
||||
Host nickr.eu
|
||||
HostName nickr.eu
|
||||
Port 222
|
||||
|
||||
Host nichkara.eu
|
||||
HostName nichkara.eu
|
||||
Port 222
|
||||
|
||||
Host git.nichkara.eu
|
||||
HostName git.nichkara.eu
|
||||
Port 22
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user