Adjust ssh configuration for nichkara

This commit is contained in:
Nina Chloé Kassandra Reiß
2026-02-27 22:31:31 +01:00
parent 799d942ce7
commit 69a6503c53
2 changed files with 22 additions and 14 deletions

View File

@@ -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 = { systemd.services.generate-ssh-key = {

View File

@@ -1,11 +1,5 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
dotfiles_nvim = pkgs.fetchgit {
url = "https://git.nichkara.eu/nichkara/nvim";
rev = "4b1aa4c6342a5c1df864247aca3e553d81cc82a9";
sha256 = "sha256-0ODOTolosRHVm0Uc2NRGBpUFM5W3C53ScaL9OQQviW0=";
};
profile = import ../profile.nix; profile = import ../profile.nix;
in in
{ {
@@ -24,12 +18,4 @@ in
withRuby = true; withRuby = true;
withNodeJs = true; withNodeJs = true;
}; };
home-manager.users.${profile.username} = { ... }: {
home.file.".config/nvim" = {
source = dotfiles_nvim;
recursive = true;
};
};
} }