2025-03-24 14:45:13 -06:00
|
|
|
{ fetchFromGitHub, linuxManualConfig, runCommand, linux-firmware, ... }:
|
2024-11-30 06:57:21 -07:00
|
|
|
(linuxManualConfig rec {
|
2025-03-24 14:45:13 -06:00
|
|
|
# TODO convert from a fork to just patchfiles
|
2024-11-28 04:31:09 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Nomkid";
|
2025-03-24 14:45:13 -06:00
|
|
|
repo = "linux";
|
|
|
|
rev = "refs/heads/ps4-linux-6.6.y";
|
|
|
|
hash = "sha256-/RM6r+k0GXcCAE73KgOissRboI5WZaB4x4tCjGGEYMA=";
|
2024-11-28 04:31:09 -07:00
|
|
|
};
|
|
|
|
|
2025-03-24 14:45:13 -06:00
|
|
|
version = "6.6.70-PS4";
|
|
|
|
modDirVersion = "6.6.70";
|
2024-11-28 04:31:09 -07:00
|
|
|
|
|
|
|
configfile = runCommand "concat-config" {} ''
|
|
|
|
cat "${src}/config" > $out
|
|
|
|
echo "CONFIG_EXTRA_FIRMWARE_DIR=\"${linux-firmware}/lib/firmware\"" >> $out
|
|
|
|
'';
|
|
|
|
allowImportFromDerivation = true;
|
2025-03-24 14:45:13 -06:00
|
|
|
})
|