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:
parent
1f8b3f5d1a
commit
c1ab2461ac
2 changed files with 73 additions and 36 deletions
|
|
@ -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" ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue