ps4nixos/kernel/5.3-aeolia.nix

21 lines
617 B
Nix
Raw Permalink Normal View History

2025-03-24 14:45:13 -06:00
{ fetchFromGitHub, linuxManualConfig, runCommand, linux-firmware, ... }:
(linuxManualConfig rec {
src = fetchFromGitHub {
owner = "Nomkid";
repo = "ps4-linux-nixos";
rev = "refs/heads/aeolia";
hash = "sha256-Gdf6pBWD885ZXUuswSQQZQgpNp1t5dn6rHs0p2DqKcw=";
};
version = "5.3.18-PS4";
modDirVersion = "5.3.18";
configfile = runCommand "concat-config" {} ''
cat "${src}/config" > $out
echo "CONFIG_EXTRA_FIRMWARE_DIR=\"${linux-firmware}/lib/firmware\"" >> $out
'';
allowImportFromDerivation = true;
}).overrideAttrs {
NIX_CFLAGS_COMPILE = "-Wno-redundant-decls -Wno-use-after-free";
}