aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/turris-mox-support.nix
blob: 578e4672fef17a49984e36cef9f4b0e4358b1956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config, lib, pkgs, ... }:

with lib;

{

  config = mkIf (config.turris.board == "mox") {
    # Use early print to the serial console
    boot.kernelParams = [
      "earlycon=ar3700_uart,0xd0012000" "console=ttyMV0,115200"
      "pcie_aspm=off" # Fix for crashes due to SError Interrupt on ath10k load
    ];

    # The additional administration packages
    environment.systemPackages =  with pkgs; [
      #mox-otp
    ];

  };
}