Configure nix-on-droid
This commit is contained in:
parent
c2fc35e12d
commit
11494614c8
5 changed files with 302 additions and 3 deletions
|
@ -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="
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue