Files
nixos-conf/shared-configuration.nix
T
2026-10-15 01:45:16 -04:00

50 lines
1.0 KiB
Nix

{ 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
Host mathlab
Hostname mathlab.utsc.utoronto.ca
User janellaj
ForwardX11 yes
ForwardX11Trusted yes
IdentityFile ~/.ssh/id_ed25519.pub
Host lab
Hostname it-ia3160-01.utsc-labs.utoronto.ca
User janellaj
ForwardX11 yes
ForwardX11Trusted yes
IdentityFile ~/.ssh/id_ed25519.pub
ProxyJump mathlab
'';
virtualisation.vmVariant = {
services.displayManager.autoLogin = {
enable = true;
user = "jeremy";
};
virtualisation.memorySize = 4096; # MB
virtualisation.cores = 4;
};
}