Files
infra/hosts/uconsole/hardware-configuration.nix
Hermes Agent a789be4a52 feat: add uConsole with separate nixpkgs (nixos-24.11)
- Uses nixpkgs-uconsole (nixos-24.11) for uConsole only
- Other hosts (lazyworkhorse, cyt-pi) stay on nixos-unstable
- Enables nixos-uconsole module compatibility
- Includes full CM5 configuration (HAM, SDR, security tools, GPS)
2026-04-29 19:20:38 +00:00

31 lines
728 B
Nix

{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
# uConsole CM5 specific filesystem (eMMC boot)
fileSystems."/" =
{ device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
options = [ "noatime" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-label/FIRMWARE";
fsType = "vfat";
};
swapDevices = [ ];
# uConsole CM5 is ARM64
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
hardware.enableRedistributableFirmware = true;
}