attempt to patch kodi
This commit is contained in:
parent
fa94bee79e
commit
3fe1d2756c
|
@ -83,6 +83,13 @@ in {
|
|||
presets.nixos.serverEncryptedDrive
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(_final: prev: {
|
||||
makeModulesClosure = x:
|
||||
prev.makeModulesClosure (x // {allowMissing = true;});
|
||||
})
|
||||
];
|
||||
|
||||
services.xserver.videoDrivers = [
|
||||
"modesetting"
|
||||
"fbdev"
|
||||
|
|
|
@ -3,7 +3,23 @@
|
|||
inputs,
|
||||
...
|
||||
}: let
|
||||
kodiPackage = inputs.nixpkgs-kodi-inputstream-adaptive-fork.legacyPackages.${pkgs.system}.kodi-wayland.withPackages (kodiPkgs:
|
||||
kodiForkPkg = inputs.nixpkgs-kodi-inputstream-adaptive-fork.legacyPackages.${pkgs.system}.kodi;
|
||||
|
||||
kodiForkPkgPatched =
|
||||
(kodiForkPkg.override {
|
||||
x11Support = true;
|
||||
waylandSupport = true;
|
||||
gbmSupport = true;
|
||||
})
|
||||
.overrideAttrs (oldAttrs: {
|
||||
patches =
|
||||
oldAttrs.patches
|
||||
++ [
|
||||
./rbp-000-add-pi-support.patch
|
||||
];
|
||||
});
|
||||
|
||||
kodiPackage = kodiForkPkgPatched.withPackages (kodiPkgs:
|
||||
with kodiPkgs; [
|
||||
pvr-iptvsimple
|
||||
inputstreamhelper
|
||||
|
@ -16,6 +32,12 @@
|
|||
visualization-spectrum
|
||||
]);
|
||||
in {
|
||||
nixpkgs.overlays = [
|
||||
(final: _prev: {
|
||||
ffmpeg = final.ffmpeg-pi;
|
||||
})
|
||||
];
|
||||
|
||||
environment.systemPackages = [
|
||||
kodiPackage
|
||||
];
|
||||
|
|
25991
hosts/raspberry-pi5/profiles/rbp-000-add-pi-support.patch
Normal file
25991
hosts/raspberry-pi5/profiles/rbp-000-add-pi-support.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -6,13 +6,6 @@
|
|||
inherit (lib.lists) flatten forEach;
|
||||
inherit (lib.modules) mkForce;
|
||||
in {
|
||||
nixpkgs.overlays = [
|
||||
(_final: prev: {
|
||||
makeModulesClosure = x:
|
||||
prev.makeModulesClosure (x // {allowMissing = true;});
|
||||
})
|
||||
];
|
||||
|
||||
imports = flatten (with tree; [
|
||||
users.root
|
||||
users.chaos
|
||||
|
|
|
@ -51,6 +51,8 @@ in
|
|||
inherit (pkgs) kitty-terminfo;
|
||||
inherit (pkgs) linux_rpi5 raspberrypifw raspberrypiWirelessFirmware raspberrypi-utils;
|
||||
inherit (pkgs) widevine-aarch64-4k widevine-aarch64-16k;
|
||||
inherit (pkgs) ffmpeg-pi;
|
||||
|
||||
inherit (inputs.home-manager-unstable.packages."${system}") home-manager;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue