{ config, pkgs, ... }: let in { nixpkgs.hostPlatform = { system = "aarch64-linux"; }; clan.core.sops.defaultGroups = [ "admins" ]; clan.core.settings.name = "anser"; clan.core.settings.machine.description = ""; # imports = [ inputs.nixos-hardware ]; boot.loader.grub.enable = false; boot.loader.generic-extlinux-compatible.enable = true; boot.kernelModules = [ "aic8800_bsp" "aic8800_fdrv" ]; hardware.enableRedistributableFirmware = true; boot.kernelParams = [ "console=ttyS2,1500000n8" "loglevel=4" ]; image.modules.sd-card.sdImage.postBuildCommands = '' dd if=${pkgs.ubootRadxaZero3W}/u-boot-rockchip.bin of=$img conv=fsync,notrunc bs=512 seek=64 ''; }