Manage github ssh-keys with sops

This commit is contained in:
SebastianStork 2024-07-05 15:04:57 +02:00
parent c1cba95e02
commit ae4a2e5b72
10 changed files with 92 additions and 11 deletions

View file

@ -9,7 +9,12 @@
userEmail = "sebastian.stork@pm.me";
extraConfig.init.defaultBranch = "main";
};
programs.lazygit.enable = true;
sops.secrets.github-ssh-key.path = "${config.home.homeDirectory}/.ssh/github";
programs.ssh = {
enable = true;
matchBlocks."github.com".identityFile = "~/.ssh/github";
};
};
}