Skip to content

Commit

Permalink
AGX nmcli for netvm
Browse files Browse the repository at this point in the history
Remove unwanted visual NeworkManager plugins preventing cross compilation
Added nmcli to netvm
Wifi Module Addded


Signed-off-by: Emrah Billur <[email protected]>
  • Loading branch information
emrahbillur authored and brianmcgillion committed Sep 24, 2024
1 parent 7a89d54 commit eb760c7
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Copyright 2022-2024 TII (SSRC) and the Ghaf contributors
# SPDX-License-Identifier: Apache-2.0
{ lib, config, ... }:
{
lib,
config,
pkgs,
...
}:
let
cfg = config.ghaf.hardware.nvidia.orin.agx;
in
Expand All @@ -10,14 +15,22 @@ in
# Orin AGX WLAN card PCI passthrough
ghaf.hardware.nvidia.orin.enablePCIPassthroughCommon = true;

# Common Wifi Service set

# Passthrough devices
ghaf.virtualization.microvm.netvm.extraModules = [
{
ghaf.services.wifi.enable = true;
microvm.devices = [
{
bus = "pci";
path = "0001:01:00.0";
}
];
# Network Manager is defined for netvm of Orin Devices
environment.systemPackages = [ pkgs.networkmanager ];
# Network Manager package defines a gnome plugin with build failure on Orin
networking.networkmanager.plugins = lib.mkForce [ ];
}
];

Expand Down

0 comments on commit eb760c7

Please sign in to comment.