23 lines
503 B
Nix
23 lines
503 B
Nix
|
{ lib, pkgs, xonePatcher, ... }: {
|
||
|
config = {
|
||
|
nixpkgs = {
|
||
|
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||
|
"xow_dongle-firmware"
|
||
|
];
|
||
|
|
||
|
overlays = [
|
||
|
(final: prev: {
|
||
|
linuxPackages = prev.linuxPackages.extend (
|
||
|
final: prev: {
|
||
|
xone = xonePatcher {
|
||
|
inherit (pkgs) fetchFromGitHub;
|
||
|
inherit (prev) xone;
|
||
|
};
|
||
|
}
|
||
|
);
|
||
|
})
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|