try some mpv tweaks I guess
This commit is contained in:
parent
cd029d68ed
commit
0e3a277c0f
|
@ -150,6 +150,15 @@
|
||||||
|
|
||||||
initrd.kernelModules = ["vc4" "bcm2835_dma" "i2c_bcm2835" "cma=256M" "console=tty0" "reset-raspberrypi"];
|
initrd.kernelModules = ["vc4" "bcm2835_dma" "i2c_bcm2835" "cma=256M" "console=tty0" "reset-raspberrypi"];
|
||||||
kernelParams = ["video=HDMI-A-1:1920x1080@60D"];
|
kernelParams = ["video=HDMI-A-1:1920x1080@60D"];
|
||||||
|
kernelPatches = [
|
||||||
|
{
|
||||||
|
name = "performance-upgrade";
|
||||||
|
patch = "null";
|
||||||
|
extraConfig = ''
|
||||||
|
CMA_SIZE_MBYTES = 256
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
];
|
||||||
kernel.sysctl = {
|
kernel.sysctl = {
|
||||||
"net.ipv4.ip_forward" = 1;
|
"net.ipv4.ip_forward" = 1;
|
||||||
"net.ipv6.conf.all.forwarding" = 1;
|
"net.ipv6.conf.all.forwarding" = 1;
|
||||||
|
@ -319,28 +328,29 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
(pkgs.kodi.withPackages (kodiPkgs:
|
pkgs.mpv
|
||||||
with kodiPkgs; [
|
# (pkgs.kodi.withPackages (kodiPkgs:
|
||||||
steam-controller
|
# with kodiPkgs; [
|
||||||
invidious
|
# steam-controller
|
||||||
youtube
|
# invidious
|
||||||
netflix
|
# youtube
|
||||||
upnext
|
# netflix
|
||||||
sponsorblock
|
# upnext
|
||||||
sendtokodi
|
# sponsorblock
|
||||||
jellyfin
|
# sendtokodi
|
||||||
inputstream-adaptive
|
# jellyfin
|
||||||
inputstreamhelper
|
# inputstream-adaptive
|
||||||
inputstream-ffmpegdirect
|
# inputstreamhelper
|
||||||
upnext
|
# inputstream-ffmpegdirect
|
||||||
sponsorblock
|
# upnext
|
||||||
sendtokodi
|
# sponsorblock
|
||||||
routing
|
# sendtokodi
|
||||||
requests-cache
|
# routing
|
||||||
requests
|
# requests-cache
|
||||||
plugin-cache
|
# requests
|
||||||
a4ksubtitles
|
# plugin-cache
|
||||||
]))
|
# a4ksubtitles
|
||||||
|
# ]))
|
||||||
pkgs.iptables
|
pkgs.iptables
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -348,6 +358,7 @@
|
||||||
services.cage.user = "kodi";
|
services.cage.user = "kodi";
|
||||||
services.cage.program = "${pkgs.kodi-wayland}/bin/kodi-standalone";
|
services.cage.program = "${pkgs.kodi-wayland}/bin/kodi-standalone";
|
||||||
services.cage.enable = true;
|
services.cage.enable = true;
|
||||||
|
nixpkgs.config.kodi.enableAdvancedLauncher = true;
|
||||||
|
|
||||||
system.stateVersion = "25.05";
|
system.stateVersion = "25.05";
|
||||||
nixpkgs.hostPlatform = lib.mkForce "aarch64-linux";
|
nixpkgs.hostPlatform = lib.mkForce "aarch64-linux";
|
||||||
|
|
Loading…
Reference in a new issue