module(pihole-container): improve the module's options by adding better defaults and the environment variable names which are controlled by the options

This commit is contained in:
Christopher Bacher 2022-10-14 01:33:19 +02:00
parent 1f8b3f5d1a
commit c1ab2461ac
2 changed files with 73 additions and 36 deletions

View file

@ -35,7 +35,7 @@
default = piholeImage;
};
nixosModules.default = (import ./modules/pihole-container.factory.nix) { piholeFlake = self; };
nixosModules.default = (import ./modules/pihole-container.factory.nix) { piholeFlake = self; inherit util; };
devShells.default = let
updatePiholeImageInfoScript = pkgs.writeShellScriptBin "update-pihole-image-info" ''