Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AGX nmcli for netvm #792

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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