Files
nixos-config/modules/home-manager/ssh.nix
2025-12-04 18:45:24 +01:00

21 lines
375 B
Nix

{ config, ... }:
{
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"github-work" = {
hostname = "github.com";
user = "git";
identityFile = "/home/kiri/.ssh/github-work.pub";
identitiesOnly = true;
};
};
includes = [
config.sops.secrets.ssh_config_orion.path
];
};
}