nixos-config/modules/programs/video.nix
2020-02-15 01:18:40 +08:00

37 lines
609 B
Nix

{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.programs.custom.video;
in {
options.programs.custom.video.enable = mkEnableOption "enable video tools";
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
youtube-dl
mplayer
mpv
# to record your screen
# ---------------------
simplescreenrecorder
# todo : the tool to show the keys pressing
# to transcode video material
# ---------------------------
handbrake
ffmpeg-full
# video editing
# -------------
openshot-qt
];
};
}