eval.nix: expose nixosModules.deploymentOptions (#49)
Allow flake users to import .#nixosModules.deploymentOptions into their flake, so that the same expression can be used for both, .#colmena.$host as well as .#nixosConfiguration.$host, without the latter complaining about undefined options in "deployment".
This commit is contained in:
parent
f4896aad39
commit
5b8971a0f4
2 changed files with 6 additions and 3 deletions
|
@ -524,6 +524,8 @@ in {
|
|||
|
||||
meta = hive.meta;
|
||||
|
||||
nixosModules = { inherit deploymentOptions; };
|
||||
|
||||
docs = {
|
||||
deploymentOptions = pkgs: let
|
||||
eval = pkgs.lib.evalModules {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue