mob next [ci-skip] [ci skip] [skip ci]
lastFile:vars/shared/wifi.home/password/secret
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
in
|
||||
{
|
||||
nixpkgs.hostPlatform = {
|
||||
system = "aarch64-linux";
|
||||
};
|
||||
clan.core.sops.defaultGroups = [ "admins" ];
|
||||
|
||||
clan.core.settings.name = "anser";
|
||||
clan.core.settings.machine.description = "";
|
||||
|
||||
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
|
||||
'';
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{ inputs, ... }: {
|
||||
disko = {
|
||||
imageBuilder = {
|
||||
# Avoid double emulation to significantly speed up image building process.
|
||||
# Update the system according to your host system.
|
||||
# See https://github.com/nix-community/disko/issues/856
|
||||
qemu =
|
||||
inputs.nixpkgs.legacyPackages.x86_64-linux.qemu
|
||||
+ "/bin/qemu-system-aarch64 -M virt -cpu cortex-a57";
|
||||
};
|
||||
# Default image size is 2G for a small basic CLI system.
|
||||
# devices.disk.main.imageSize = "2G";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user