flake(pihole): restructure image info + update devShell for updating it

The Pi-hole image information is now contained in separate nix files per architecture `pihole-image-info.ARCH.nix`.
When updating these files with `update-pihole-image-info` the respective docker images are prefetched and the sha256 sum needed for the build are automatically included in the nix files.
This commit is contained in:
Christopher Bacher 2022-12-04 21:49:03 +01:00
parent 4a2a0b86d6
commit a8119d7a1b
4 changed files with 42 additions and 26 deletions

View file

@ -0,0 +1,7 @@
{
imageName = "pihole/pihole";
imageDigest = "sha256:586457b5ed6e888ca6674e27d3f063588a8b61fa0b61b80fecd8be3939ad2160";
sha256 = "191rak86a1q4m5i9wi594aqzyly5ci0g4sq90jvh1vgynf8flmp0";
finalImageName = "pihole/pihole";
finalImageTag = "2022.11.2";
}