stockholm/makefu/2configs/hw/xmm7360.nix

14 lines
344 B
Nix
Raw Normal View History

2021-03-12 19:33:08 +00:00
{ pkgs, config, ... }:
let
2021-10-01 16:52:09 +00:00
helper = pkgs.writeScriptBin "lte" (builtins.readFile ./lte.sh);
2021-03-12 19:33:08 +00:00
pkg = (pkgs.callPackage ../../5pkgs/xmm7360 { kernel = config.boot.kernelPackages.kernel; });
in
{
boot.extraModulePackages = [
pkg
];
boot.initrd.availableKernelModules = [ "xmm7360" ];
2021-10-01 16:52:09 +00:00
users.users.makefu.packages = [ pkg helper ];
2021-03-12 19:33:08 +00:00
}