feat: ssh configs
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./client-configuration.nix
|
||||
./alien-hardware-configuration.nix
|
||||
./alien-hardware-configuration.nix
|
||||
./shared-configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
@@ -34,7 +35,8 @@
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./client-configuration.nix
|
||||
./thinkpad-hardware-configuration.nix
|
||||
./thinkpad-hardware-configuration.nix
|
||||
./shared-configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
@@ -49,7 +51,8 @@
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./server-configuration.nix
|
||||
./predator-hardware-configuration.nix
|
||||
./predator-hardware-configuration.nix
|
||||
./shared-configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
{
|
||||
programs.ssh.extraConfig = ''
|
||||
Host scinet
|
||||
HostName teach.scinet.utoronto.ca
|
||||
User lcl_uotcscd60s2180
|
||||
ForwardX11 yes
|
||||
ForwardX11Trusted yes
|
||||
IdentityFile ~/.ssh/id_ed25519.pub
|
||||
|
||||
Host node
|
||||
Hostname janel.la
|
||||
User jeremy
|
||||
ForwardX11Trusted yes
|
||||
IdentityFile ~/.ssh/id_ed25519.pub
|
||||
|
||||
Host predator
|
||||
Hostname 10.8.0.4
|
||||
User jeremy
|
||||
ForwardX11Trusted yes
|
||||
ProxyJump node
|
||||
'';
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user