2023-02-05 13:36:38 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let cfg = config.features.desktop.media;
|
|
|
|
|
|
|
|
in {
|
|
|
|
|
2023-02-05 13:51:12 +00:00
|
|
|
options.features.desktop.media.enable =
|
|
|
|
mkEnableOption "enable media features";
|
2023-02-05 13:36:38 +00:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
betterdiscordctl
|
|
|
|
davinci-resolve
|
|
|
|
discord
|
|
|
|
element-desktop
|
|
|
|
ffmpeg
|
|
|
|
freetube
|
|
|
|
gphoto2
|
|
|
|
handbrake
|
|
|
|
makemkv
|
|
|
|
mpv
|
|
|
|
obs-studio
|
|
|
|
plexamp
|
|
|
|
vlc
|
|
|
|
youtube-dl
|
|
|
|
];
|
|
|
|
};
|
2023-02-01 11:38:23 +00:00
|
|
|
}
|