sops-nix icon indicating copy to clipboard operation
sops-nix copied to clipboard

Package in nixpkgs?

Open l0b0 opened this issue 3 months ago • 2 comments

After using this in a couple projects, I'm interested in packaging sops-nix in nixpkgs for easier access. Are there any reasons not to do this? Adding the package would improve the UX, especially for non-flake users.

l0b0 avatar Sep 21 '25 05:09 l0b0

Reason to do this:

  • pre-compiled binaries and ease-of-use are probably speaking for this.

What could be a bit hard to coordinate is that we have 3 module systems in 3 repos (home-manager, darwin-nix, nixos) that would use one compiled package and we would need to keep those modules in sync with the packaged sops-nix binary. The complication is here that nixpkgs of users might be newer than the assumed schema of the respective module system - so some form of versioning would be needed. We also at the moment have quite a few integration tests, that we might need to copy and paste back and forth.

Mic92 avatar Sep 21 '25 20:09 Mic92

i would also love to see this land in nixpkgs!

another use case i'll mention... i use the sops-nix package in my finix config, though not the modules - i have modified version of the sops-nix so they work on finix and i am intending to modify them further to better fit into my system

aanderse avatar Oct 19 '25 12:10 aanderse