cleanup files and add AIO image
This commit is contained in:
parent
c436983153
commit
022ceeb8aa
9 changed files with 90 additions and 114 deletions
22
kernel/kernel-aeolia-5.3.nix
Normal file
22
kernel/kernel-aeolia-5.3.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ fetchFromGitHub, linuxManualConfig, runCommand, linux-firmware, gcc8Stdenv, ... }:
|
||||
((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;
|
||||
}).override {
|
||||
stdenv = gcc8Stdenv;
|
||||
}).overrideAttrs {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-redundant-decls -Wno-use-after-free";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue