tvheadend
This commit is contained in:
parent
3f6da1c7d0
commit
4eb04daa5d
|
@ -33,16 +33,13 @@
|
||||||
]);
|
]);
|
||||||
in {
|
in {
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(final: _prev: {
|
(_final: _prev: {
|
||||||
#ffmpeg = final.ffmpeg-pi;
|
#ffmpeg = final.ffmpeg-pi;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.graphics.package = pkgs.mesa.overrideAttrs (oA: {
|
hardware.graphics.package = pkgs.mesa.overrideAttrs (oA: {
|
||||||
patches =
|
inherit (oA) patches;
|
||||||
oA.patches
|
|
||||||
++ [
|
|
||||||
];
|
|
||||||
});
|
});
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
|
3
hosts/raspberry-pi5/profiles/tvheadend.nix
Normal file
3
hosts/raspberry-pi5/profiles/tvheadend.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{...}: {
|
||||||
|
services.tvheadend.enable = true;
|
||||||
|
}
|
|
@ -35,6 +35,7 @@ in {
|
||||||
|
|
||||||
(with tree.hosts.raspberry-pi5.profiles; [
|
(with tree.hosts.raspberry-pi5.profiles; [
|
||||||
kodi
|
kodi
|
||||||
|
tvheadend
|
||||||
])
|
])
|
||||||
|
|
||||||
(forEach [
|
(forEach [
|
||||||
|
@ -64,7 +65,7 @@ in {
|
||||||
allowPing = true;
|
allowPing = true;
|
||||||
checkReversePath = "loose";
|
checkReversePath = "loose";
|
||||||
|
|
||||||
allowedTCPPorts = [22];
|
allowedTCPPorts = [22 9981 9982];
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.nat = {
|
networking.nat = {
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
pageSize ? 4,
|
pageSize ? 4,
|
||||||
}: let
|
}: let
|
||||||
lacrosVersion = "128.0.6613.119";
|
lacrosVersion = "128.0.6613.119";
|
||||||
widevineVersion = "4.10.2662.3";
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "widevine-aarch64-${toString pageSize}k";
|
pname = "widevine-aarch64-${toString pageSize}k";
|
||||||
|
|
Loading…
Reference in a new issue