stockholm/makefu/2configs/hw/xmm7360.nix
2021-10-01 18:52:09 +02:00

14 lines
344 B
Nix

{ 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 ];
}