Skip to content

Commit

Permalink
AGX Wireless bug fix
Browse files Browse the repository at this point in the history
Signed-off-by: Emrah Billur <[email protected]>
Remove docker

Signed-off-by: Emrah Billur <[email protected]>
  • Loading branch information
emrahbillur authored and Mika Tammi committed Sep 13, 2023
1 parent b0ad071 commit 3372f53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
1 change: 0 additions & 1 deletion modules/hardware/nvidia-jetson-orin/jetson-orin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ in
ghaf.boot.loader.systemd-boot-dtb.enable = true;

ghaf.virtualization.microvm.netvm = {
enable = true;
extraModules = netvmExtraModules;
};

Expand Down
20 changes: 7 additions & 13 deletions targets/nvidia-jetson-orin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,13 @@
# The Nvidia Orin hardware dependent configuration is in
# modules/hardware/nvidia-jetson-orin/jetson-orin.nx
# Please refer to that section for hardware dependent netvm configuration.

# To enable or disable wireless
networking.wireless = {
# Wireless Configuration
# Orin AGX has WiFi enabled where Orin Nx does not
enable =
if som == "agx"
then nixpkgs.lib.mkForce true
else nixpkgs.lib.mkForce false;
};
networking.wireless.enable = som == "agx";
# Wireless Configuration
# Orin AGX has WiFi enabled where Orin Nx does not

# For WLAN firmwares
hardware.enableRedistributableFirmware =
if som == "agx"
then nixpkgs.lib.mkForce true
else nixpkgs.lib.mkForce false;
hardware.enableRedistributableFirmware = som == "agx";
# Note: When 21.11 arrives replace the below statement with
# wirelessRegulatoryDatabase = true;
}
Expand All @@ -58,6 +49,9 @@
virtualization.microvm-host.enable = true;
host.networking.enable = true;

virtualization.microvm.netvm.enable = true;
virtualization.microvm.netvm.extraModules = netvmExtraModules;

# Enable all the default UI applications
profiles = {
applications.enable = true;
Expand Down

0 comments on commit 3372f53

Please sign in to comment.