smallest change
This commit is contained in:
parent
4cca1dc327
commit
9c83ba6849
77 changed files with 36828 additions and 1516 deletions
40
modules/home/apps/video/mpv/default.nix
Normal file
40
modules/home/apps/video/mpv/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue