Compare commits

...

2 Commits

Author SHA1 Message Date
Nina Chlóe Kassandra Reiß
11459f6c8f Add ssh to system-environment 2026-04-20 23:16:55 +02:00
Nina Chlóe Kassandra Reiß
1b0d428894 Move ssh from terminal-environment to own configuration file in system-environment 2026-04-20 23:16:20 +02:00
3 changed files with 29 additions and 23 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
'';
};
}

View File

@@ -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 = {
enable = true;
enableCompletion = true;