introduce modules/arch/{mipsel,mipseb}.nix

for settings that are common to all mipse[lb] but would not be shared
with e.g. aarch64 or x86
This commit is contained in:
Daniel Barlow
2023-09-20 17:27:04 +01:00
parent 12b9feb8ee
commit f75995e895
7 changed files with 37 additions and 11 deletions

9
modules/arch/mipsel.nix Normal file
View File

@@ -0,0 +1,9 @@
{ lib, pkgs, config, ...}:
{
imports = [ ./mips.nix ];
config = {
kernel.config = {
CPU_LITTLE_ENDIAN = "y";
};
};
}