add jetson host
This commit is contained in:
parent
d33c120ee9
commit
d0f891e144
5 changed files with 154 additions and 1 deletions
26
hosts/nixos/jetson/hardware-configuration.nix
Normal file
26
hosts/nixos/jetson/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# PLACEHOLDER hardware configuration for Jetson Orin Nano
|
||||
# This file should be regenerated on the actual device by running:
|
||||
# nixos-generate-config --root /mnt
|
||||
# Then copy the generated hardware-configuration.nix to this location.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
# These are placeholder kernel modules - will be auto-detected by nixos-generate-config
|
||||
boot.initrd.availableKernelModules = [ "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
# Filesystems are managed by disko configuration
|
||||
# No filesystem declarations needed here
|
||||
|
||||
# Enable DHCP on network interfaces
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
# ARM64 platform for Jetson Orin Nano
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue