blob: 9a59212523deea516652b50ebc9d84b43af8f02b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ config, lib, pkgs, ... }:
with lib;
{
config = mkIf (config.turris.board == "omnia") {
# Use early print to the serial console
boot.kernelParams = [
"earlyprintk" "console=ttyS0,115200"
];
# Force load of Turris Omnia leds (not loadded automatically for some
# reason).
#boot.kernelModules = [
# "leds_turris_omnia"
#];
# Blacklist leds for now as they cause kernel faults
boot.blacklistedKernelModules = ["leds_turris_omnia"];
# Explicitly set device tree to ensure we load the correct one.
hardware.deviceTree.name = "armada-385-turris-omnia.dtb";
# The additional administration packages
environment.systemPackages = with pkgs; [
libatsha204
];
};
}
|