za3k / qr-backup

Paper backup of files using QR codes
Other
128 stars 12 forks source link

minimal nix flake #55

Closed VzxPLnHqr closed 1 month ago

VzxPLnHqr commented 6 months ago

qr-backup is a neat tool you created! I was having trouble getting it to run on a NixOS system so I made a little nix flake which gives a reasonable development environment.

Now all I (or anyone else who has Nix installed) need to do is just enter the directory and run nix develop --impure. After that, running qr-backup <your file> should work fine on any NIx/Nixos system.

Realistically this flake should be improved and made much simpler, so I doubt you would want to merge this particular attempt. Rather, I just wanted to provide an example for you.

za3k commented 6 months ago

Thanks for sharing, this is really neat!

za3k commented 1 month ago

Merged in eb664e5ab7abeb056abadff673c4358879524f46

za3k commented 1 month ago

@VzxPLnHqr I have no idea how nix packaging works, but if you want to get this included in the distro, feel free. I opened https://github.com/NixOS/nixpkgs/issues/343799