{
  config,
  lib,
  pkgs,
  hostName,
  ...
}:
{
  programs.ssh = {
    enable = true;
    matchBlocks = {
      "gitlab.com" = {
        user = "git";
        identityFile = "/home/marvin/.ssh/gitlab_rsa";
      };
      "github.com" = {
        user = "git";
        identityFile = "/home/marvin/.ssh/gitlab_rsa";
      };
      "192.168.0.249" = lib.mkIf (hostName == "toaster") {
        user = "marvin";
        identityFile = "/home/marvin/.ssh/toaster_ed25519";
        extraOptions = {
          StrictHostKeyChecking = "accept-new";
          UserKnownHostsFile = "~/.ssh/known_hosts.d/baker";
        };
      };
      "baker" = lib.mkIf (hostName == "toaster") {
        user = "marvin";
        hostname = "192.168.0.249";
        identityFile = "/home/marvin/.ssh/toaster_ed25519";
      };
    };
  };
}