- New NixOS host 'uConsole' for ClockworkPi CM5 portable terminal - flake.nix: add nixos-uconsole and nixos-raspberrypi inputs - Imports: nixos-uconsole.nixosModules.uconsole-cm5, nixos-raspberrypi.nixosModules.raspberry-pi-5.base - Full package list: base tools, HAM radio, SDR/RF, mesh/LoRa, security tools, GPS/maps - Reticulum stack (rns 1.2.9, lxmf 0.9.8, nomadnet 1.1.1) built from PyPI via overlays/reticulum.nix - systemd services: rnsd (Reticulum daemon), kismet (Wi-Fi IDS) - Kernel modules for SDR (rtl-sdr, dvb) and USB WiFi - Follows existing host config conventions (cyt-pi as template)
27 lines
792 B
Nix
27 lines
792 B
Nix
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
{
|
|
imports =
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" "sdhci_pci" "nvme" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
# uConsole CM5 uses NVMe or eMMC for boot storage
|
|
# The uconsole-cm5 module sets up /boot/firmware and default /
|
|
# Override device label here if using different storage
|
|
fileSystems."/" = lib.mkDefault {
|
|
device = "/dev/disk/by-label/NIXOS_UCM5";
|
|
fsType = "ext4";
|
|
options = [ "noatime" ];
|
|
};
|
|
|
|
swapDevices = [ ];
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
|
hardware.enableRedistributableFirmware = true;
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
|
}
|