ps4nixos/kernel/6.6.nix

20 lines
580 B
Nix
Raw Normal View History

2025-03-24 14:45:13 -06:00
{ fetchFromGitHub, linuxManualConfig, runCommand, linux-firmware, ... }:
(linuxManualConfig rec {
2025-03-24 14:45:13 -06:00
# TODO convert from a fork to just patchfiles
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=";
};
2025-03-24 14:45:13 -06:00
version = "6.6.70-PS4";
modDirVersion = "6.6.70";
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
})