26 lines
401 B
Nix
26 lines
401 B
Nix
|
{pkgs, config, ...}:
|
||
|
|
||
|
let
|
||
|
wisGo7007 = config.boot.kernelPackages.wis_go7007;
|
||
|
|
||
|
wisGo7007Pkg = [ wis_go7007 ];
|
||
|
wisGo7007Firmware = [ "${wis_go7007}/firmware" ];
|
||
|
in
|
||
|
|
||
|
{
|
||
|
boot = {
|
||
|
extraModulePackages = wisGo7007Pkg;
|
||
|
};
|
||
|
|
||
|
environment = {
|
||
|
extraPackages = wisGo7007Pkg;
|
||
|
};
|
||
|
|
||
|
services = {
|
||
|
udev = {
|
||
|
addFirmware = wisGo7007Firmware;
|
||
|
addUdevPkgs = wisGo7007Pkg;
|
||
|
};
|
||
|
};
|
||
|
}
|