Configure nix-on-droid

This commit is contained in:
Fern Garden 2025-07-16 23:14:52 +08:00
parent c2fc35e12d
commit 11494614c8
5 changed files with 302 additions and 3 deletions

View file

@ -30,6 +30,19 @@
# Allow CPU microcode.
hardware.cpu.intel.updateMicrocode = true;
# Allows remote deployment on ARM systems (ie. Raspberry Pi).
# Building for aarch64 (nix-on-droid & Raspberry Pi).
boot.binfmt.emulatedSystems = ["aarch64-linux"];
nix.settings.extra-platforms = ["aarch64-linux" "arm-linux"];
# Cachix for nix-on-droid
nix.settings = {
substituters = [
"https://nix-on-droid.cachix.org"
""
];
trusted-public-keys = [
"nix-on-droid.cachix.org-1:56snoMJTXmDRC1Ei24CmKoUqvHJ9XCp+nidK7qkMQrU="
];
};
}