From 11459f6c8f68279d0b911dc2aaccaede4efdb251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nina=20Chl=C3=B3e=20Kassandra=20Rei=C3=9F?= Date: Mon, 20 Apr 2026 23:16:55 +0200 Subject: [PATCH] Add ssh to system-environment --- system-environment/config.nix | 1 + system-environment/ssh.nix | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 system-environment/ssh.nix diff --git a/system-environment/config.nix b/system-environment/config.nix index d4b1eba..2881d39 100644 --- a/system-environment/config.nix +++ b/system-environment/config.nix @@ -7,6 +7,7 @@ in imports = [ ./file-system.nix ./media.nix + ./ssh.nix ]; home.packages = with pkgs; [ diff --git a/system-environment/ssh.nix b/system-environment/ssh.nix new file mode 100644 index 0000000..819bb9f --- /dev/null +++ b/system-environment/ssh.nix @@ -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 + ''; + }; +}