Compare commits
2 Commits
7b415dbccb
...
11459f6c8f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
11459f6c8f | ||
|
|
1b0d428894 |
@@ -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
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -39,29 +39,6 @@ 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
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user