stuff
This commit is contained in:
parent
d077c65a0d
commit
1a392c3d40
1 changed files with 3 additions and 11 deletions
|
|
@ -8,11 +8,6 @@
|
||||||
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
|
||||||
|
|
@ -29,18 +24,15 @@
|
||||||
|
|
||||||
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
|
||||||
libva-vdpau-driver
|
vaapiVdpau
|
||||||
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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -51,7 +43,7 @@
|
||||||
# };
|
# };
|
||||||
|
|
||||||
virtualisation.oci-containers.containers."jellyseerr-music" = {
|
virtualisation.oci-containers.containers."jellyseerr-music" = {
|
||||||
image = "seerr/seerr:preview-music-support";
|
image = "fallenbagel/jellyseerr: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