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.

15 Likes

Hello,

Thanks a lot for the project, I would like to ask why are issues not enabled on GitHub ? Is this project just a PoC that will be abandoned ?

I believe the flake.lock should be upgraded from time to time unless that breaks shoji-nix.

Hello and thanks for your feedback :smile:

A new version of Shoji nix has been released recently, I have updated the flake.lock as well :slight_smile: