nixos_config/home/modules/programs/ssh.nix

72 lines
1.8 KiB
Nix
Raw Permalink Normal View History

2026-03-10 21:50:51 +01:00
{ ... }:
2026-03-10 18:54:37 +01:00
{
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"*" = {
forwardAgent = false;
addKeysToAgent = "no";
compression = false;
serverAliveInterval = 0;
serverAliveCountMax = 3;
hashKnownHosts = false;
userKnownHostsFile = "~/.ssh/known_hosts";
controlMaster = "no";
controlPath = "~/.ssh/master-%r@%n:%p";
controlPersist = "no";
};
"alisceon-core" = {
hostname = "core.alisceon.com";
2026-05-27 21:34:02 +02:00
user = "alisceon";
2026-03-10 18:54:37 +01:00
};
"blogbox-2" = {
hostname = "10.1.0.11";
proxyJump = "alisceon-core";
2026-05-30 16:54:22 +02:00
user = "alisceon";
2026-03-10 18:54:37 +01:00
};
"blogbox-1" = {
2026-05-30 16:54:22 +02:00
hostname = "10.1.0.10";
2026-03-10 18:54:37 +01:00
proxyJump = "alisceon-core";
2026-05-30 16:54:22 +02:00
user = "alisceon";
2026-03-10 18:54:37 +01:00
};
"filurbox" = {
hostname = "oci.malice.zone";
user = "opc";
};
"dnspi" = {
hostname = "10.40.0.2";
user = "pi";
};
2026-03-10 21:50:51 +01:00
"nuc".hostname = "nuc.home.the.malice.zone";
2026-03-10 18:54:37 +01:00
"tsla-exporter-bridge" = {
hostname = "alma02.lab.the.malice.zone";
user = "root";
};
"tsla-runner-boi" = {
hostname = "alma03.lab.the.malice.zone";
user = "root";
};
2026-03-10 21:50:51 +01:00
"tsla-nixos".hostname = "tesla-nixos.lab.the.malice.zone";
2026-03-10 18:54:37 +01:00
"tsla-backups" = {
hostname = "backups.lab.the.malice.zone";
user = "root";
};
"tsla-books" = {
hostname = "books.lab.the.malice.zone";
user = "root";
};
"tower" = {
forwardAgent = true;
addKeysToAgent = "yes";
hostname = "tower.home.the.malice.zone";
};
"electra" = {
forwardAgent = true;
addKeysToAgent = "yes";
hostname = "electra.home.the.malice.zone";
};
2026-03-10 21:50:51 +01:00
};
};
}