Files
nixos-conf/shared-configuration.nix
T
2026-10-16 12:51:19 -04:00

57 lines
1.2 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;
security.sudo.wheelNeedsPassword = false;
};
programs.tmux = {
enable = true;
keyMode = "vi";
escapeTime = 0;
baseIndex = 1;
};
}