diff --git a/nixos/modules/virtualisation/azure-common.nix b/nixos/modules/virtualisation/azure-common.nix index cdb848950dc2..d8d835dd303d 100644 --- a/nixos/modules/virtualisation/azure-common.nix +++ b/nixos/modules/virtualisation/azure-common.nix @@ -30,6 +30,8 @@ in matchConfig.Driver = mlxDrivers; linkConfig.Unmanaged = "yes"; }; + networking.networkmanager.unmanaged = lib.mkIf cfg.acceleratedNetworking + (builtins.map (drv: "driver:${drv}") mlxDrivers); # Generate a GRUB menu. boot.loader.grub.device = "/dev/sda";