mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
35 lines
622 B
Nix
35 lines
622 B
Nix
{ lib, tree, ... }: with lib; let
|
|
profiles = tree.prev;
|
|
appendedProfiles = with profiles; {
|
|
aarch64 = {
|
|
deploy.profile.cross = {
|
|
enable = true;
|
|
aarch64 = true;
|
|
};
|
|
imports = [
|
|
aarch64
|
|
];
|
|
};
|
|
armv7l = {
|
|
deploy.profile.cross = {
|
|
enable = true;
|
|
armv7l = true;
|
|
};
|
|
imports = [
|
|
arm-common
|
|
armv7
|
|
];
|
|
};
|
|
armv6l = {
|
|
deploy.profile.cross = {
|
|
enable = true;
|
|
armv6l = true;
|
|
};
|
|
imports = [
|
|
arm-common
|
|
armv6
|
|
];
|
|
};
|
|
};
|
|
in
|
|
profiles // appendedProfiles
|