azure-common: take networkmanager users into account for accelerated networking

This commit is contained in:
codgician 2024-08-14 11:02:58 +08:00
parent 88c5242599
commit 94683f9e55

View File

@ -30,6 +30,8 @@ in
matchConfig.Driver = mlxDrivers; matchConfig.Driver = mlxDrivers;
linkConfig.Unmanaged = "yes"; linkConfig.Unmanaged = "yes";
}; };
networking.networkmanager.unmanaged = lib.mkIf cfg.acceleratedNetworking
(builtins.map (drv: "driver:${drv}") mlxDrivers);
# Generate a GRUB menu. # Generate a GRUB menu.
boot.loader.grub.device = "/dev/sda"; boot.loader.grub.device = "/dev/sda";