ssh: add keys to agent (new config syntax), remove heimdall

Set TERM env var to xterm-256color in foot config instead of as ssh
override, might fix emacs remote shell issues where it should be
TERM=dumb
This commit is contained in:
Evie Litherland-Smith 2024-06-03 09:54:42 +01:00
parent 18a245e375
commit c2dc12417c
2 changed files with 2 additions and 10 deletions

View file

@ -8,6 +8,7 @@
server.enable = true;
settings = {
main = {
term = "xterm-256color";
locked-title = false;
font = "${fonts.monospace.name}:size=${toString fonts.sizes.applications}";
dpi-aware = false;

View file

@ -5,16 +5,13 @@
];
programs.ssh = {
enable = true;
addKeysToAgent = "yes";
forwardAgent = true;
compression = true;
serverAliveInterval = 15;
serverAliveCountMax = 3;
controlMaster = "auto";
controlPersist = "10s";
extraConfig = ''
AddKeysToAgent=yes
SetEnv TERM=xterm-256color
'';
matchBlocks = {
"git*".user = "git";
"legion" = {
@ -32,12 +29,6 @@
"freia" = {
user = "elitherl";
hostname = "freia027.hpc.l";
forwardX11Trusted = true;
};
"heimdall" = {
user = "elitherl";
hostname = "heimdall003.jet.uk";
forwardX11Trusted = true;
};
};
};