nix-config/home/features/desktop/media.nix

28 lines
510 B
Nix
Raw Normal View History

2024-05-15 09:25:27 +00:00
{ 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
mediainfo
mpv
uxplay
vlc
];
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
input-overlay
wlrobs
obs-vertical-canvas
];
};
};
}