nixos: do not set a default Nic driver
Setting a default driver will cause confusion later.
This commit is contained in:
parent
a2a152b68a
commit
233986e6bc
|
@ -8,10 +8,7 @@ with lib;
|
|||
attrsOf (submodule ({ ... }: {
|
||||
options.genode = {
|
||||
|
||||
driver = mkOption {
|
||||
type = types.enum [ "ipxe" "virtio" ];
|
||||
default = "ipxe";
|
||||
};
|
||||
driver = mkOption { type = types.enum [ "ipxe" "virtio" ]; };
|
||||
|
||||
stack = mkOption {
|
||||
type = types.enum [ "lwip" "lxip" ];
|
||||
|
|
|
@ -72,6 +72,7 @@ rec {
|
|||
address = "192.168.${toString fst}.${toString m.snd}";
|
||||
prefixLength = 24;
|
||||
}];
|
||||
genode.driver = "virtio";
|
||||
});
|
||||
in {
|
||||
key = "ip-address";
|
||||
|
|
Loading…
Reference in New Issue