jellyfin media player
This commit is contained in:
parent
4123f54831
commit
c84992a5c5
3 changed files with 23 additions and 0 deletions
|
@ -66,6 +66,7 @@
|
|||
blender.enable = true;
|
||||
kdenlive.enable = true;
|
||||
mpv.enable = true;
|
||||
jellyfin.enable = true;
|
||||
};
|
||||
};
|
||||
hardware = {
|
||||
|
|
|
@ -7,5 +7,6 @@
|
|||
./kdenlive
|
||||
./lmms
|
||||
./mpv
|
||||
./jellyfin
|
||||
];
|
||||
}
|
||||
|
|
21
modules/desktop/media/jellyfin/default.nix
Normal file
21
modules/desktop/media/jellyfin/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue