summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/xmm7360.nix
blob: 8facab8b5273fe8b28047b94b30f22e0c97063cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ pkgs, config, ... }:
let
  helper = pkgs.writeScriptBin "lte" (builtins.readFile ./lte.sh);

  pkg = (pkgs.callPackage ../../5pkgs/xmm7360 { kernel = config.boot.kernelPackages.kernel; });
in
{
  boot.extraModulePackages = [
    pkg
  ];
  boot.initrd.availableKernelModules = [ "xmm7360" ];
  users.users.makefu.packages = [ pkg helper ];
}