2
0
Fork 0

nixos: do not set a default Nic driver

Setting a default driver will cause confusion later.
This commit is contained in:
Ehmry - 2020-11-09 12:09:07 +01:00
parent a2a152b68a
commit 233986e6bc
2 changed files with 2 additions and 4 deletions

View File

@ -8,10 +8,7 @@ with lib;
attrsOf (submodule ({ ... }: { attrsOf (submodule ({ ... }: {
options.genode = { options.genode = {
driver = mkOption { driver = mkOption { type = types.enum [ "ipxe" "virtio" ]; };
type = types.enum [ "ipxe" "virtio" ];
default = "ipxe";
};
stack = mkOption { stack = mkOption {
type = types.enum [ "lwip" "lxip" ]; type = types.enum [ "lwip" "lxip" ];

View File

@ -72,6 +72,7 @@ rec {
address = "192.168.${toString fst}.${toString m.snd}"; address = "192.168.${toString fst}.${toString m.snd}";
prefixLength = 24; prefixLength = 24;
}]; }];
genode.driver = "virtio";
}); });
in { in {
key = "ip-address"; key = "ip-address";