mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
Compare commits
3 commits
547b0df57a
...
68d2b4eb95
Author | SHA1 | Date | |
---|---|---|---|
Harry | 68d2b4eb95 | ||
Harry | 84188189f9 | ||
Harry | fde7763f29 |
|
@ -1,5 +1,21 @@
|
|||
{ config, ... }:
|
||||
{ pkgs, 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,6 +21,7 @@ in
|
|||
server_name = "hypervirtual.world";
|
||||
public_baseurl = baseUrl;
|
||||
enable_registration = false;
|
||||
enable_metrics = true;
|
||||
listeners = [
|
||||
{
|
||||
port = 8008;
|
||||
|
@ -36,7 +37,6 @@ in
|
|||
names = [
|
||||
"client"
|
||||
"federation"
|
||||
"metrics"
|
||||
];
|
||||
compress = true;
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ in
|
|||
tls = false;
|
||||
bind_addresses = [
|
||||
"::1"
|
||||
"0.0.0.0"
|
||||
"127.0.0.1"
|
||||
];
|
||||
resources = [ ];
|
||||
}
|
||||
|
@ -87,7 +87,6 @@ in
|
|||
|
||||
};
|
||||
};
|
||||
|
||||
*/
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue