diff --git a/system-environment/config.nix b/system-environment/config.nix index d4b1eba..2881d39 100644 --- a/system-environment/config.nix +++ b/system-environment/config.nix @@ -7,6 +7,7 @@ in imports = [ ./file-system.nix ./media.nix + ./ssh.nix ]; home.packages = with pkgs; [ diff --git a/system-environment/ssh.nix b/system-environment/ssh.nix new file mode 100644 index 0000000..819bb9f --- /dev/null +++ b/system-environment/ssh.nix @@ -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 + ''; + }; +}