mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
OLIMEX Teres-I: Init
Initial declaration of the device
This commit is contained in:
parent
f4ef5df944
commit
93fcc5fb82
2 changed files with 31 additions and 0 deletions
|
@ -170,6 +170,7 @@
|
||||||
omen-15-en1007sa = import ./omen/15-en1007sa;
|
omen-15-en1007sa = import ./omen/15-en1007sa;
|
||||||
omen-en00015p = import ./omen/en00015p;
|
omen-en00015p = import ./omen/en00015p;
|
||||||
onenetbook-4 = import ./onenetbook/4;
|
onenetbook-4 = import ./onenetbook/4;
|
||||||
|
olimex-teres_i = import ./olimex/teres_i;
|
||||||
pcengines-apu = import ./pcengines/apu;
|
pcengines-apu = import ./pcengines/apu;
|
||||||
pine64-pinebook-pro = import ./pine64/pinebook-pro;
|
pine64-pinebook-pro = import ./pine64/pinebook-pro;
|
||||||
pine64-rockpro64 = import ./pine64/rockpro64;
|
pine64-rockpro64 = import ./pine64/rockpro64;
|
||||||
|
|
30
olimex/teres_i/default.nix
Normal file
30
olimex/teres_i/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{ config, lib, pkgs, ...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
hardware.deviceTree = {
|
||||||
|
name = lib.mkDefault "allwinner/sun50i-a64-teres-i.dts";
|
||||||
|
enable = lib.mkDefault true;
|
||||||
|
};
|
||||||
|
|
||||||
|
boot = {
|
||||||
|
consoleLogLevel = lib.mkDefault 7;
|
||||||
|
|
||||||
|
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
||||||
|
kernelParams = lib.mkDefault ["console=ttyS0,115200n8"];
|
||||||
|
extraModulePackages = lib.mkDefault [];
|
||||||
|
|
||||||
|
initrd = {
|
||||||
|
availableKernelModules = lib.mkDefault ["usbhid"];
|
||||||
|
kernelModules = lib.mkDefault [];
|
||||||
|
};
|
||||||
|
|
||||||
|
loader = {
|
||||||
|
grub.enable = lib.mkDefault false;
|
||||||
|
generic-extlinux-compatible.enable = lib.mkDefault true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||||
|
|
||||||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||||
|
}
|
Loading…
Reference in a new issue