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 {
type = types.attrsOf (types.submodule {
options.configuration = mkOption {
type = types.submodule ({
config.virtualisation.test.nodeName =
# assert regular.config.virtualisation.test.nodeName != "configuration";
regular.config.virtualisation.test.nodeName;
});
type = types.submoduleWith {
modules = [
{
config.virtualisation.test.nodeName =
# assert regular.config.virtualisation.test.nodeName != "configuration";
regular.config.virtualisation.test.nodeName;
}
];
};
};
});
};