This is potentially temporary. But jellyfin-media-player has been flagged as having a security problem by using an old version of qtwebengine. So we'll maybe find time to try out delfin or maybe just wait until the security issue gets fixed or maybe just use the web browser. We have options
23 lines
520 B
Nix
23 lines
520 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.home.roles.media;
|
|
in
|
|
{
|
|
options.home.roles.media = {
|
|
enable = mkEnableOption "Enable media and multimedia applications";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
# Media players and streaming
|
|
# Using delfin instead of jellyfin-media-player to avoid qtwebengine security issues
|
|
# For full Jellyfin features, use web interface at http://jellyfin-server:8096
|
|
delfin
|
|
moonlight-qt
|
|
vlc
|
|
];
|
|
};
|
|
} |