37 lines
662 B
Nix
37 lines
662 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
with lib;
|
||
|
let cfg = config.features.desktop.media;
|
||
|
in {
|
||
|
options.features.desktop.media.enable =
|
||
|
mkEnableOption "enable media features";
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
home.packages = with pkgs; [
|
||
|
audacity
|
||
|
ffmpeg_6-full
|
||
|
gphoto2
|
||
|
handbrake
|
||
|
stable.libsForQt5.kdenlive
|
||
|
makemkv
|
||
|
mediainfo
|
||
|
mpv
|
||
|
plexamp
|
||
|
spotify
|
||
|
uxplay
|
||
|
vlc
|
||
|
webcord
|
||
|
youtube-dl
|
||
|
unimatrix
|
||
|
];
|
||
|
|
||
|
programs.obs-studio = {
|
||
|
enable = true;
|
||
|
plugins = with pkgs.obs-studio-plugins; [
|
||
|
input-overlay
|
||
|
wlrobs
|
||
|
obs-vertical-canvas
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|