mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 15:10:19 +02:00
Compare commits
No commits in common. "68d2b4eb958ed9751df0ee784d10e499a935471f" and "547b0df57aa58e4d3c3d8d2cc92a58ec14c8fcc3" have entirely different histories.
68d2b4eb95
...
547b0df57a
2 changed files with 4 additions and 19 deletions
|
@ -1,21 +1,5 @@
|
|||
{ pkgs, config, ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
# 1. enable vaapi on OS-level
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
||||
};
|
||||
|
||||
hardware.opengl = {
|
||||
# hardware.opengl in 24.05
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
intel-vaapi-driver # previously vaapiIntel
|
||||
vaapiVdpau
|
||||
intel-compute-runtime # OpenCL filter support (hardware tonemapping and subtitle burn-in)
|
||||
intel-media-sdk # QSV up to 11th gen
|
||||
];
|
||||
};
|
||||
services.jellyfin = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
|
|
|
@ -21,7 +21,6 @@ in
|
|||
server_name = "hypervirtual.world";
|
||||
public_baseurl = baseUrl;
|
||||
enable_registration = false;
|
||||
enable_metrics = true;
|
||||
listeners = [
|
||||
{
|
||||
port = 8008;
|
||||
|
@ -37,6 +36,7 @@ in
|
|||
names = [
|
||||
"client"
|
||||
"federation"
|
||||
"metrics"
|
||||
];
|
||||
compress = true;
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ in
|
|||
tls = false;
|
||||
bind_addresses = [
|
||||
"::1"
|
||||
"127.0.0.1"
|
||||
"0.0.0.0"
|
||||
];
|
||||
resources = [ ];
|
||||
}
|
||||
|
@ -87,6 +87,7 @@ in
|
|||
|
||||
};
|
||||
};
|
||||
|
||||
*/
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue