smallest change

This commit is contained in:
zack 2025-03-22 16:03:07 -04:00
parent 4cca1dc327
commit 9c83ba6849
No known key found for this signature in database
GPG key ID: EE8A2B709E2401D1
77 changed files with 36828 additions and 1516 deletions

View file

@ -0,0 +1,40 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.custom; let
cfg = config.apps.video.mpv;
in {
options.apps.video.mpv = with types; {
enable = mkBoolOpt false "Enable MPV video player";
};
config = mkIf cfg.enable {
catppuccin.mpv.enable = false;
home.packages = with pkgs; [open-in-mpv];
programs.mpv = {
enable = true;
config = {
profile = "main";
background-color = "#000000";
};
scripts = with pkgs.mpvScripts; [uosc sponsorblock thumbfast quality-menu];
profiles = {
main = {
vo = "gpu-next";
};
"protocol.dvd" = {
profile-desc = "profile for dvd:// streams";
alang = "en";
};
};
};
};
}