stuff
This commit is contained in:
parent
ea8863adfb
commit
d077c65a0d
1 changed files with 11 additions and 3 deletions
|
|
@ -8,6 +8,11 @@
|
||||||
options.server.jellyfin.enable = lib.mkEnableOption "Enable Jellyfin+Jellyseerr";
|
options.server.jellyfin.enable = lib.mkEnableOption "Enable Jellyfin+Jellyseerr";
|
||||||
|
|
||||||
config = lib.mkIf config.server.jellyfin.enable {
|
config = lib.mkIf config.server.jellyfin.enable {
|
||||||
|
users.users.jellyfin = {
|
||||||
|
isSystemUser = true;
|
||||||
|
group = "jellyfin";
|
||||||
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
5055
|
5055
|
||||||
8096
|
8096
|
||||||
|
|
@ -24,15 +29,18 @@
|
||||||
|
|
||||||
services.jellyfin.enable = true;
|
services.jellyfin.enable = true;
|
||||||
|
|
||||||
|
nixpkgs.config.packageOverrides = pkgs: {
|
||||||
|
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
||||||
|
};
|
||||||
|
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
intel-vaapi-driver # previously vaapiIntel
|
intel-vaapi-driver # previously vaapiIntel
|
||||||
vaapiVdpau
|
libva-vdpau-driver
|
||||||
intel-compute-runtime # OpenCL filter support (hardware tonemapping and subtitle burn-in)
|
intel-compute-runtime # OpenCL filter support (hardware tonemapping and subtitle burn-in)
|
||||||
vpl-gpu-rt # QSV on 11th gen or newer
|
vpl-gpu-rt # QSV on 11th gen or newer
|
||||||
intel-media-sdk # QSV up to 11th gen
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -43,7 +51,7 @@
|
||||||
# };
|
# };
|
||||||
|
|
||||||
virtualisation.oci-containers.containers."jellyseerr-music" = {
|
virtualisation.oci-containers.containers."jellyseerr-music" = {
|
||||||
image = "fallenbagel/jellyseerr:preview-music-support";
|
image = "seerr/seerr:preview-music-support";
|
||||||
extraOptions = [ "--network=host" ];
|
extraOptions = [ "--network=host" ];
|
||||||
volumes = [ "/var/lib/jellyseerr/config:/app/config" ];
|
volumes = [ "/var/lib/jellyseerr/config:/app/config" ];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue