Adjust ssh configuration for nichkara
This commit is contained in:
@@ -38,6 +38,28 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.ssh = {
|
||||
enable = 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
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.generate-ssh-key = {
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
dotfiles_nvim = pkgs.fetchgit {
|
||||
url = "https://git.nichkara.eu/nichkara/nvim";
|
||||
rev = "4b1aa4c6342a5c1df864247aca3e553d81cc82a9";
|
||||
sha256 = "sha256-0ODOTolosRHVm0Uc2NRGBpUFM5W3C53ScaL9OQQviW0=";
|
||||
};
|
||||
|
||||
profile = import ../profile.nix;
|
||||
in
|
||||
{
|
||||
@@ -24,12 +18,4 @@ in
|
||||
withRuby = true;
|
||||
withNodeJs = true;
|
||||
};
|
||||
|
||||
home-manager.users.${profile.username} = { ... }: {
|
||||
home.file.".config/nvim" = {
|
||||
source = dotfiles_nvim;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user