Shoji-Nix: SSH key management module for Nix

Shoji-Nix is a Nix module designed to manage and securely store your SSH keys in your nix configuration repository. With Shoji-Nix, you can transform your SSH configuration and .ssh folder into a single YAML file, which is then encrypted and saved into your Nix configuration.

Thanks to this module, you can keep your .ssh folder into your nix configuration repository.

It uses a combination of Age, Sops and Shoji ( my own software ) to work.

I wanted to learn more about Nix so I decided to do this project. I loved doing it, it was a lot of fun!

Note: It is a very experimental project, I’ve designed it for my own use cases.

12 Likes