Evie Litherland-Smith
a52ccf7ef4
Delete some unused (test) scripts Reduce what is sync'd by rsync-local-config: remove fonts, bat config and zellij config
47 lines
1 KiB
Nix
47 lines
1 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
home.packages = with pkgs; [
|
|
rclone
|
|
sshfs
|
|
(writeShellScriptBin "ssh-keygen-defaults" ''ssh-keygen -t ed25519 -C "$(whoami)@$(hostname)"'')
|
|
];
|
|
programs.ssh = {
|
|
enable = true;
|
|
addKeysToAgent = "yes";
|
|
forwardAgent = true;
|
|
compression = true;
|
|
serverAliveInterval = 15;
|
|
serverAliveCountMax = 3;
|
|
controlMaster = "auto";
|
|
controlPersist = "10s";
|
|
extraConfig = ''
|
|
SetEnv TERM=xterm-256color
|
|
'';
|
|
matchBlocks = {
|
|
"git*".user = "git";
|
|
"legion" = {
|
|
user = "pixelifytica";
|
|
hostname = "192.168.0.31";
|
|
};
|
|
"vanguard" = {
|
|
user = "pixelifytica";
|
|
hostname = "192.168.0.90";
|
|
};
|
|
"ionos" = {
|
|
user = "root";
|
|
hostname = "77.68.67.133";
|
|
};
|
|
"freia" = {
|
|
user = "elitherl";
|
|
hostname = "freia027.hpc.l";
|
|
compression = true;
|
|
};
|
|
"heimdall" = {
|
|
user = "elitherl";
|
|
hostname = "10.40.4.115"; # heimdall115.jetdata.eu
|
|
compression = true;
|
|
};
|
|
};
|
|
};
|
|
}
|