mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
hosts/shinmyoumaru: init, cross: armv6+v7 emulated, stripped base, exprs
This commit is contained in:
parent
c7d8d0b3d4
commit
37950bc59a
19 changed files with 153 additions and 28 deletions
9
config/profiles/cross/armv6.nix
Normal file
9
config/profiles/cross/armv6.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, ... }: {
|
||||
nix = {
|
||||
binaryCaches = [ "https://arm.cachix.org/" ];
|
||||
binaryCachePublicKeys = [ "arm.cachix.org-1:5BZ2kjoL1q6nWhlnrbAl+G7ThY7+HaBRD9PZzqZkbnM=" ];
|
||||
};
|
||||
boot.binfmt = {
|
||||
emulatedSystems = [ "armv6l-linux" ];
|
||||
};
|
||||
}
|
||||
|
|
@ -3,4 +3,7 @@
|
|||
binaryCaches = [ "https://arm.cachix.org/" ];
|
||||
binaryCachePublicKeys = [ "arm.cachix.org-1:5BZ2kjoL1q6nWhlnrbAl+G7ThY7+HaBRD9PZzqZkbnM=" ];
|
||||
};
|
||||
boot.binfmt = {
|
||||
emulatedSystems = [ "armv7l-linux" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
rec {
|
||||
common = ./armvcommon.nix;
|
||||
armv7-base = ./armv7.nix;
|
||||
armv6-base = ./armv6.nix;
|
||||
aarch64-base = ./aarch64.nix;
|
||||
|
||||
|
||||
|
|
@ -30,6 +31,7 @@ rec {
|
|||
};
|
||||
imports = [
|
||||
common
|
||||
armv6-base
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue