85 lines
1.8 KiB
Nix
85 lines
1.8 KiB
Nix
{ config, lib, pkgs, inputs, ... }:
|
|
{
|
|
imports = [ ./nvim.nix ];
|
|
|
|
environment.systemPackages = with pkgs; [ tree ];
|
|
|
|
programs.ssh.extraConfig = ''
|
|
Host rocky
|
|
Hostname 100.125.188.0
|
|
User rocky
|
|
ForwardX11 yes
|
|
ForwardX11Trusted yes
|
|
SetEnv TERM=xterm-256color
|
|
IdentityFile ~/.ssh/id_ed25519
|
|
|
|
Host teach
|
|
HostName teach.scinet.utoronto.ca
|
|
User lcl_uotcscd60s2180
|
|
ForwardX11 yes
|
|
ForwardX11Trusted yes
|
|
SetEnv TERM=xterm-256color
|
|
IdentityFile ~/.ssh/id_ed25519
|
|
|
|
Host node
|
|
Hostname janel.la
|
|
User jeremy
|
|
ForwardX11Trusted yes
|
|
IdentityFile ~/.ssh/id_ed25519
|
|
|
|
Host predator
|
|
Hostname 10.8.0.4
|
|
User jeremy
|
|
ForwardX11Trusted yes
|
|
SetEnv TERM=xterm-256color
|
|
ProxyJump node
|
|
|
|
Host mathlab
|
|
Hostname mathlab.utsc.utoronto.ca
|
|
User janellaj
|
|
ForwardX11 yes
|
|
ForwardX11Trusted yes
|
|
SetEnv TERM=xterm-256color
|
|
IdentityFile ~/.ssh/id_ed25519
|
|
|
|
Host lab
|
|
Hostname it-ia3160-01.utsc-labs.utoronto.ca
|
|
User janellaj
|
|
ForwardX11 yes
|
|
ForwardX11Trusted yes
|
|
IdentityFile ~/.ssh/id_ed25519
|
|
SetEnv TERM=xterm-256color
|
|
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;
|
|
extraConfig = ''
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
bind -r H resize-pane -L 5
|
|
bind -r J resize-pane -D 5
|
|
bind -r K resize-pane -U 5
|
|
bind -r L resize-pane -R 5
|
|
'';
|
|
};
|
|
|
|
}
|