I just tagged v0.3.0 of the crafts-flake that brings #snapcraft, #charmcraft and #rockcraft to #nixos: https://github.com/jnsgruk/crafts-flake/compare/v0.2.0...v0.3.0

Note that right now if you're using #LXD 5.18 on NixOS, these will fail due to a regression in LXD. 5.19 is on it's way to nixos-unstable. You can work around this with an overlay in your system flake if that's your jam ;-) https://github.com/jnsgruk/nixos-config/commit/11c692e0f0fcb48b4f1198a9951d0f23547360b3

GitHub - jnsgruk/crafts-flake: Nix flake for ⭐craft applications and libraries.

Nix flake for ⭐craft applications and libraries. Contribute to jnsgruk/crafts-flake development by creating an account on GitHub.

GitHub

Next up I need to figure out how to run some tests against #NixOS in Github Actions.

Right now my thoughts are to run the NixOS LXD container on the runner, but I've never used that before. Open to suggestions if anyone has managed this before!