summaryrefslogtreecommitdiff
path: root/hm/soft/media.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soft/media.nix')
-rw-r--r--hm/soft/media.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/hm/soft/media.nix b/hm/soft/media.nix
new file mode 100644
index 0000000..0184957
--- /dev/null
+++ b/hm/soft/media.nix
@@ -0,0 +1,27 @@
+{ config, lib, pkgs, ... }:
+let
+ cfg = config.szpont.hm.soft.media;
+in
+{
+ options.szpont.hm.soft.media.enable = lib.mkEnableOption "media playback and processing tools";
+
+ config = lib.mkIf cfg.enable {
+ programs.mpv = {
+ enable = true;
+ config = {
+
+ };
+ };
+ programs.yt-dlp = {
+ enable = true;
+ package = pkgs.yt-dlp_git;
+ };
+
+ home.packages = with pkgs; [
+ # syncplay
+ syncplay-nogui
+ ffmpeg
+ imagemagick
+ ];
+ };
+}