From 085d593ce14ec4171a08e2bb968718963d1fab25 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Tue, 22 Oct 2024 23:00:30 +0200 Subject: [PATCH] new ssh --- home-modules/ssh.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/home-modules/ssh.nix b/home-modules/ssh.nix index 5ad6d55..656fb7b 100755 --- a/home-modules/ssh.nix +++ b/home-modules/ssh.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, system, user, allowed, secrets, ... }: +{ pkgs, lib, user, ... }: lib.mkIf (user != "tv") { @@ -9,7 +9,7 @@ lib.mkIf (user != "tv") home.file.".ssh/config".text = '' HOST nxace - HostName nx2.site + HostName ssh.nx2.site User nx2 Port 50022 @@ -18,18 +18,13 @@ lib.mkIf (user != "tv") User nx2 Port 50022 - HOST nxrpi - HostName nx2.site - User pi - Port 50023 - HOST nxrpil HostName 192.168.178.31 - User pi - Port 50023 + User nx2 + Port 22 HOST nxgit - HostName git.nx2.site + HostName ssh.nx2.site User git Port 20022 '';