Add ssh to system-environment

This commit is contained in:
Nina Chlóe Kassandra Reiß
2026-04-20 23:16:55 +02:00
parent 1b0d428894
commit 11459f6c8f
2 changed files with 29 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ in
imports = [
./file-system.nix
./media.nix
./ssh.nix
];
home.packages = with pkgs; [

View 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
'';
};
}