From 69a6503c537321a7d8bce31e4e7251bbf80a0aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nina=20Chlo=C3=A9=20Kassandra=20Rei=C3=9F?= Date: Fri, 27 Feb 2026 22:31:31 +0100 Subject: [PATCH] Adjust ssh configuration for nichkara --- home-manager.nix | 22 ++++++++++++++++++++++ terminal-environment/editor.nix | 14 -------------- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/home-manager.nix b/home-manager.nix index 057f288..9ec6675 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -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 = { diff --git a/terminal-environment/editor.nix b/terminal-environment/editor.nix index 834876c..95b037f 100644 --- a/terminal-environment/editor.nix +++ b/terminal-environment/editor.nix @@ -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; - }; - }; } -