NixOS/home/programs/mpv.nix

18 lines
269 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.profile.mpv;
in
{
config = lib.mkIf cfg.enable {
programs.mpv = {
enable = true;
scripts = with pkgs.mpvScripts; [
uosc
mpris
thumbnail
sponsorblock
];
};
};
}