14 lines
344 B
Nix
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 ];
|
|
}
|