2
0
Fork 0

nixos: do not set a default Nic driver

Setting a default driver will cause confusion later.
llvm-11
Emery Hemingway 2 years ago
parent a2a152b68a
commit 233986e6bc
  1. 5
      nixos-modules/hardware.nix
  2. 1
      tests/lib/build-vms.nix

@ -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…
Cancel
Save