entirely vibed refactor
This commit is contained in:
parent
cea12431ff
commit
c343c52ab7
78 changed files with 884 additions and 1099 deletions
71
home/modules/programs/ssh.nix
Normal file
71
home/modules/programs/ssh.nix
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
{ ... }:
|
||||
{
|
||||
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";
|
||||
user = "opc";
|
||||
};
|
||||
"blogbox-2" = {
|
||||
hostname = "10.1.0.11";
|
||||
proxyJump = "alisceon-core";
|
||||
user = "opc";
|
||||
};
|
||||
"blogbox-1" = {
|
||||
hostname = "10.1.0.247";
|
||||
proxyJump = "alisceon-core";
|
||||
user = "opc";
|
||||
};
|
||||
"filurbox" = {
|
||||
hostname = "oci.malice.zone";
|
||||
user = "opc";
|
||||
};
|
||||
"dnspi" = {
|
||||
hostname = "10.40.0.2";
|
||||
user = "pi";
|
||||
};
|
||||
"nuc".hostname = "nuc.home.the.malice.zone";
|
||||
"tsla-exporter-bridge" = {
|
||||
hostname = "alma02.lab.the.malice.zone";
|
||||
user = "root";
|
||||
};
|
||||
"tsla-runner-boi" = {
|
||||
hostname = "alma03.lab.the.malice.zone";
|
||||
user = "root";
|
||||
};
|
||||
"tsla-nixos".hostname = "tesla-nixos.lab.the.malice.zone";
|
||||
"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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue