Move files around...

- "kernel" and "repos.nix" --> "common/"
- "firmware/surface-go/ath10k" --> "surface-go/firmware/ath10k"
- Update where "kernel", "firmware/surface-go" and "repos.nix" can be found
This commit is contained in:
mexisme
2023-01-10 15:22:06 +13:00
parent ca29e25c39
commit bd17dc4706
11 changed files with 10 additions and 121 deletions

View File

@@ -0,0 +1,22 @@
{ lib,
buildLinux,
callPackage,
linuxPackagesFor,
}:
let
inherit (lib) recurseIntoAttrs;
in {
repos = callPackage ../repos.nix {};
linuxPackage =
{ version,
modDirVersion ? version,
...
} @ args:
let
buildLinux' = buildLinux (args // { inherit modDirVersion; });
linuxPackagesFor' = linuxPackagesFor buildLinux';
in recurseIntoAttrs linuxPackagesFor';
}