module(pihole-container): add option declarations for the module + add module to flake
This commit is contained in:
parent
ef77de3abd
commit
1b5d13c510
2 changed files with 243 additions and 0 deletions
|
|
@ -17,6 +17,7 @@
|
|||
${system.x86_64-linux}.pihole = imageBaseInfo // {
|
||||
arch = "amd64";
|
||||
sha256 = "sha256-5FUtafW2YdTfOfA0ieiyJasMUYEGReOMQ4PGZ8e32hY=";
|
||||
# name = # final image name can be set here
|
||||
};
|
||||
|
||||
${system.aarch64-linux}.pihole = imageBaseInfo // {
|
||||
|
|
@ -33,6 +34,8 @@
|
|||
default = piholeImage;
|
||||
};
|
||||
|
||||
nixosModule = import ./modules/pihole-container.nix;
|
||||
|
||||
devShells.default = let
|
||||
updatePiholeImageInfoScript = pkgs.writeShellScriptBin "update-pihole-image-info" ''
|
||||
INSPECT_RESULT=`skopeo inspect "docker://${imageName}:latest"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue