feat: add uConsole CM5 host configuration

- Uses nixos-uconsole.nixosModules.uconsole-cm5 with nixos-raspberrypi
- Module chain: raspberry-pi-5.base + uconsole-cm5
- Includes HAM radio, SDR, GPS, and security tools
- Packages adjusted for latest nixpkgs (reticulum/marble not available)
This commit is contained in:
2026-04-29 20:13:33 +00:00
parent 30f8ca3863
commit 9d0deddc98
4 changed files with 369 additions and 8 deletions

View File

@@ -0,0 +1,30 @@
{ 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;
}