27 lines
631 B
Nix
27 lines
631 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
|
|
|
|
# Spotify client
|
|
# Using unstable version for better authentication support
|
|
unstable.ncspot
|
|
];
|
|
};
|
|
} |