nixos/testing/network.nix: Fix specialisations onlyShorthand

This commit is contained in:
Robert Hensing 2022-06-25 23:29:49 +02:00
parent e77913a680
commit f01fec4099

View file

@ -93,11 +93,15 @@ let
specialisation = mkOption { specialisation = mkOption {
type = types.attrsOf (types.submodule { type = types.attrsOf (types.submodule {
options.configuration = mkOption { options.configuration = mkOption {
type = types.submodule ({ type = types.submoduleWith {
config.virtualisation.test.nodeName = modules = [
# assert regular.config.virtualisation.test.nodeName != "configuration"; {
regular.config.virtualisation.test.nodeName; config.virtualisation.test.nodeName =
}); # assert regular.config.virtualisation.test.nodeName != "configuration";
regular.config.virtualisation.test.nodeName;
}
];
};
}; };
}); });
}; };