match blocks

This commit is contained in:
2025-08-26 18:25:13 -05:00
parent b122fc88f7
commit c091282f94

View File

@@ -61,7 +61,25 @@
*/
services.mpris-proxy.enable = true;
programs.ssh.enable = true;
programs.ssh = {
enable = true;
matchBlocks = {
"builder" = {
hostname = "blunkall.us";
user = "remote-builder";
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
port = 2222;
};
"remote" = {
hostname = "blunkall.us";
user = "nathan";
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
port = 2222;
};
};
};
};
}