Add ssh to system-environment
This commit is contained in:
@@ -7,6 +7,7 @@ in
|
|||||||
imports = [
|
imports = [
|
||||||
./file-system.nix
|
./file-system.nix
|
||||||
./media.nix
|
./media.nix
|
||||||
|
./ssh.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|||||||
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