shitcoding moment
This commit is contained in:
parent
8e31bd6c02
commit
58475e433e
28 changed files with 703 additions and 258 deletions
|
|
@ -6,10 +6,33 @@
|
|||
openFirewall = true;
|
||||
};
|
||||
|
||||
# services.jellyseerr = {
|
||||
# enable = true;
|
||||
# port = 5055;
|
||||
# openFirewall = true;
|
||||
# package = pkgs-unstable.jellyseerr; # Use the unstable package if stable is not up-to-date
|
||||
# };
|
||||
hardware.graphics.enable = true;
|
||||
|
||||
hardware.graphics.extraPackages = with pkgs; [
|
||||
libva
|
||||
libvdpau
|
||||
libva-vdpau-driver
|
||||
libvdpau-va-gl
|
||||
vaapiVdpau
|
||||
mesa
|
||||
libva-utils
|
||||
vdpauinfo
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
nvtopPackages.amd
|
||||
jellyfin
|
||||
jellyfin-web
|
||||
jellyfin-ffmpeg
|
||||
];
|
||||
|
||||
systemd.services.jellyfin.environment.LIBVA_DRIVER_NAME = "radeonsi";
|
||||
environment.sessionVariables = { LIBVA_DRIVER_NAME = "radeonsi"; };
|
||||
|
||||
users.users = {
|
||||
jellyfin = {
|
||||
isNormalUser = false;
|
||||
description = "Jellyfin";
|
||||
extraGroups = [ "render" "video" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue