dotfiles/home/ssh/default.nix

71 lines
1.5 KiB
Nix
Raw Normal View History

2024-06-03 01:00:53 +02:00
{ inputs, config, pkgs, ... }:
{
2024-06-03 16:02:50 +02:00
programs.ssh = {
enable = true;
includes = [ "gpulab_hosts_config" ];
matchBlocks = {
2024-06-03 17:18:13 +02:00
"*" = {
host = "*";
identityFile = "~/.secrets/SSH/id_ed25519";
};
2024-06-03 16:02:50 +02:00
mallorea = {
host = "mallorea";
hostname = "server.thomasave.be";
port = 22;
user = "server";
forwardAgent = true;
};
Mallorea = {
host = "Mallorea";
hostname = "server.thomasave.be";
port = 22;
user = "server";
forwardAgent = true;
};
Kell = {
host = "Kell";
hostname = "kell.thomasave.be";
port = 22;
user = "user";
forwardAgent = true;
};
kell = {
host = "kell";
hostname = "kell.thomasave.be";
port = 22;
user = "user";
forwardAgent = true;
};
Riva = {
host = "Riva";
hostname = "riva.thomasave.be";
port = 22;
user = "user";
forwardAgent = true;
};
riva = {
host = "riva";
hostname = "riva.thomasave.be";
port = 22;
user = "user";
forwardAgent = true;
};
Vault = {
host = "Vault";
hostname = "etienne.thomasave.be";
port = 22;
user = "server";
forwardAgent = true;
};
vault = {
host = "vault";
hostname = "etienne.thomasave.be";
port = 22;
user = "server";
forwardAgent = true;
};
2024-06-03 01:00:53 +02:00
};
2024-06-03 16:02:50 +02:00
};
2024-06-03 01:00:53 +02:00
}