jellyfin media player

This commit is contained in:
Sakooooo 2024-02-08 13:04:25 +04:00
parent 4123f54831
commit c84992a5c5
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 23 additions and 0 deletions

View file

@ -66,6 +66,7 @@
blender.enable = true;
kdenlive.enable = true;
mpv.enable = true;
jellyfin.enable = true;
};
};
hardware = {

View file

@ -7,5 +7,6 @@
./kdenlive
./lmms
./mpv
./jellyfin
];
}

View file

@ -0,0 +1,21 @@
{
outputs,
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.modules.desktop.media.jellyfin;
in {
options.modules.desktop.media.jellyfin = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
jellyfin-media-player
];
};
}