NixOS/home/programs/mpv.nix

18 lines
269 B
Nix
Raw Normal View History

2024-06-12 18:09:56 +07:00
{ config, lib, pkgs, ... }:
let
cfg = config.profile.mpv;
in
2024-06-12 09:54:11 +07:00
{
2024-06-12 18:09:56 +07:00
config = lib.mkIf cfg.enable {
programs.mpv = {
enable = true;
scripts = with pkgs.mpvScripts; [
uosc
mpris
thumbnail
sponsorblock
];
};
2024-06-12 09:54:11 +07:00
};
}