diff --git a/lib/netconf-junos/default.nix b/lib/netconf-junos/default.nix index ce08ba1..9a868e6 100644 --- a/lib/netconf-junos/default.nix +++ b/lib/netconf-junos/default.nix @@ -14,10 +14,10 @@ let inherit (lib) mapAttrs mkOption; inherit (lib.types) + attrs attrsOf bool str - any submodule package ; @@ -44,7 +44,7 @@ in options = { # Hack because of this https://git.dgnum.eu/DGNum/colmena/src/commit/71b1b660f2cda2e34e134d0028cafbd56bb22008/src/nix/hive/eval.nix#L166 which defines nixpkgs option but we don't have it here. What about liminix ? nixpkgs = mkOption { - type = attrsOf any; + type = attrs; default = { }; }; netconf = {