add 6.6, clean up old code

This commit is contained in:
Jeeves 2025-03-24 14:45:13 -06:00
parent cbfaf9b9d9
commit a661f9d183
7 changed files with 28 additions and 153 deletions

19
kernel/6.6.nix Normal file
View file

@ -0,0 +1,19 @@
{ fetchFromGitHub, linuxManualConfig, runCommand, linux-firmware, ... }:
(linuxManualConfig rec {
# TODO convert from a fork to just patchfiles
src = fetchFromGitHub {
owner = "Nomkid";
repo = "linux";
rev = "refs/heads/ps4-linux-6.6.y";
hash = "sha256-/RM6r+k0GXcCAE73KgOissRboI5WZaB4x4tCjGGEYMA=";
};
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;
})