blob: b68affc5f8c1f9ed5fcd696c71d0474ed37cbfa9 (
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"
];
# Custom kernel config
boot.kernelPatches = [{
name = "omnia";
patch = null;
extraConfig = ''
LEDS_CLASS_MULTICOLOR y
LEDS_TURRIS_OMNIA y
'';
}];
# The additional administration packages
environment.systemPackages = with pkgs; [
libatsha204
];
};
}
|