Files
dotfiles/home-modules/ssh.nix
Lennart J. Kurzweg (Nx2) 085d593ce1 new ssh
2024-10-22 23:00:30 +02:00

32 lines
484 B
Nix
Executable File

{ pkgs, lib, user, ... }:
lib.mkIf (user != "tv")
{
home.packages = with pkgs; [
sshfs
];
home.file.".ssh/config".text = ''
HOST nxace
HostName ssh.nx2.site
User nx2
Port 50022
HOST nxacel
HostName 192.168.178.32
User nx2
Port 50022
HOST nxrpil
HostName 192.168.178.31
User nx2
Port 22
HOST nxgit
HostName ssh.nx2.site
User git
Port 20022
'';
}