nixos/testing/network.nix: Fix specialisations onlyShorthand
This commit is contained in:
parent
e77913a680
commit
f01fec4099
1 changed files with 9 additions and 5 deletions
|
@ -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;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue